载入中...
搜索中...
未找到
eve::tensor::CompiledFunction类 参考

Optimized / scheduled graph ready to run with feeds. 更多...

#include <Graph.h>

Public 成员函数

 CompiledFunction ()
 Compiled function.
 
 ~CompiledFunction ()
 Compiled function.
 
Tensor * run0 ()
 Run 0.
 
Tensor * run1 (Tensor *in0)
 Run 1.
 
Tensor * run2 (Tensor *in0, Tensor *in1)
 Run 2.
 
Tensor * run3 (Tensor *in0, Tensor *in1, Tensor *in2)
 Run 3.
 
Tensor * run4 (Tensor *in0, Tensor *in1, Tensor *in2, Tensor *in3)
 Run 4.
 
Tensor * run5 (Tensor *in0, Tensor *in1, Tensor *in2, Tensor *in3, Tensor *in4)
 Run 5.
 
Tensor * run6 (Tensor *in0, Tensor *in1, Tensor *in2, Tensor *in3, Tensor *in4, Tensor *in5)
 Run 6.
 
int getPlaceholderCount () const
 Returns the placeholder count.
 
std::string getDevice () const
 Returns the device.
 

静态 Public 成员函数

static CompiledFunction * fromFunc (Func *fn)
 From func.
 

详细描述

Optimized / scheduled graph ready to run with feeds.

在文件 Graph.h 第 242 行定义.

构造及析构函数说明

◆ CompiledFunction()

eve::tensor::CompiledFunction::CompiledFunction ( )
default

Compiled function.

被这些函数引用 fromFunc().

◆ ~CompiledFunction()

eve::tensor::CompiledFunction::~CompiledFunction ( )
default

Compiled function.

成员函数说明

◆ fromFunc()

CompiledFunction * eve::tensor::CompiledFunction::fromFunc ( Func *  fn)
static

From func.

在文件 Graph.cpp 第 574 行定义.

引用了 CompiledFunction(), fn, eve::tensor::optimizeGraph() , 以及 eve::tensor::GpuProgram::tryBuild().

被这些函数引用 eve::tensor::Func::compile().

◆ getDevice()

std::string eve::tensor::CompiledFunction::getDevice ( ) const
inline

Returns the device.

在文件 Graph.h 第 267 行定义.

◆ getPlaceholderCount()

int eve::tensor::CompiledFunction::getPlaceholderCount ( ) const
inline

Returns the placeholder count.

在文件 Graph.h 第 265 行定义.

◆ run0()

Tensor * eve::tensor::CompiledFunction::run0 ( )

Run 0.

在文件 Graph.cpp 第 595 行定义.

◆ run1()

Tensor * eve::tensor::CompiledFunction::run1 ( Tensor *  in0)

Run 1.

在文件 Graph.cpp 第 597 行定义.

◆ run2()

Tensor * eve::tensor::CompiledFunction::run2 ( Tensor *  in0,
Tensor *  in1 
)

Run 2.

在文件 Graph.cpp 第 602 行定义.

◆ run3()

Tensor * eve::tensor::CompiledFunction::run3 ( Tensor *  in0,
Tensor *  in1,
Tensor *  in2 
)

Run 3.

在文件 Graph.cpp 第 607 行定义.

◆ run4()

Tensor * eve::tensor::CompiledFunction::run4 ( Tensor *  in0,
Tensor *  in1,
Tensor *  in2,
Tensor *  in3 
)

Run 4.

在文件 Graph.cpp 第 612 行定义.

◆ run5()

Tensor * eve::tensor::CompiledFunction::run5 ( Tensor *  in0,
Tensor *  in1,
Tensor *  in2,
Tensor *  in3,
Tensor *  in4 
)

Run 5.

在文件 Graph.cpp 第 617 行定义.

◆ run6()

Tensor * eve::tensor::CompiledFunction::run6 ( Tensor *  in0,
Tensor *  in1,
Tensor *  in2,
Tensor *  in3,
Tensor *  in4,
Tensor *  in5 
)

Run 6.

在文件 Graph.cpp 第 622 行定义.


该类的文档由以下文件生成: