Home
last modified time | relevance | path

Searched refs:subgraph_type (Results 1 – 8 of 8) sorted by relevance

/third_party/mindspore/mindspore/lite/test/st/
Dmindrt_parallel_runtime_test.cc35 if (kernel->subgraph_type() == mindspore::kernel::kGpuFp32SubGraph) { in CheckRuntime()
38 if (kernel->subgraph_type() == mindspore::kernel::kCpuFP32SubGraph) { in CheckRuntime()
95 if (kernel->subgraph_type() != mindspore::kernel::kCpuFP16SubGraph) { in CheckRuntime2()
/third_party/mindspore/mindspore/lite/src/
Dscheduler.cc125 MS_ASSERT(kernel->subgraph_type() == kernel::kNotSubGraph); in CastKernelWeight()
193 MS_ASSERT(kernel->subgraph_type() == kernel::kNotSubGraph); in HandleBuildinCpuKernelWeight()
225 auto subgraph_type = kernel->subgraph_type(); in InitKernels() local
226 if (subgraph_type == kernel::kNotSubGraph) { in InitKernels()
232 auto ret = HandleBuildinCpuKernelWeight(subgraph_type, node); in InitKernels()
357 MS_LOG(DEBUG) << "[subgraph] : " << subgraph->name() << ", type:" << subgraph->subgraph_type(); in Schedule()
1477 bool KernelFitCurrentSubGraph(const kernel::SubGraphType subgraph_type, const kernel::LiteKernel &k… in KernelFitCurrentSubGraph() argument
1478 switch (subgraph_type) { in KernelFitCurrentSubGraph()
1529 if (cur_kernel->subgraph_type() != kernel::kNotSubGraph || in FindAllSubGraphKernels()
1560 if (cur_kernel->subgraph_type() != kernel::kNotSubGraph) { in ConstructSubGraphs()
[all …]
Dsub_graph_kernel.cc98 if (kernel->subgraph_type() != kernel::kNotSubGraph) { in ReSize()
Dlite_session.cc480 if (kernel->subgraph_type() == kernel::kNotSubGraph) { in FreePackOpWeight()
938 …if (kernel->subgraph_type() == kernel::kGpuFp16SubGraph || kernel->subgraph_type() == kernel::kGpu… in ReSizeKernels()
Dlite_kernel.h328 SubGraphType subgraph_type() const { return this->subgraph_type_; } in subgraph_type() function
/third_party/mindspore/mindspore/lite/src/runtime/kernel/opencl/
Dopencl_subgraph.cc224 if (is_fp16 && subgraph_type() == kGpuFp16SubGraph) { in UpdateTensorDataTypePass()
304 ocl_runtime_->SetFp16Enable(subgraph_type() == kGpuFp16SubGraph); in Prepare()
385 if (kernel->subgraph_type() != kernel::kNotSubGraph) { in ReSize()
/third_party/mindspore/mindspore/lite/src/runtime/
Druntime_pass.cc167 if (kernel->subgraph_type() != kernel::kNotSubGraph) { in Nc4hw4PassAct()
/third_party/mindspore/mindspore/lite/src/train/
Dtrain_session.cc618 if (ori_kernel->subgraph_type() == kernel::kNotSubGraph) { in CompileTrainKernels()