Home
last modified time | relevance | path

Searched refs:const_op (Results 1 – 14 of 14) sorted by relevance

/external/tensorflow/tensorflow/lite/toco/
Dexport_tensorflow.cc159 tensorflow::NodeDef* const_op = tensorflow_graph->add_node(); in ConvertFloatTensorConst() local
160 const_op->set_op("Const"); in ConvertFloatTensorConst()
161 const_op->set_name(name); in ConvertFloatTensorConst()
162 (*const_op->mutable_attr())["dtype"].set_type(DT_FLOAT); in ConvertFloatTensorConst()
163 auto* tensor = (*const_op->mutable_attr())["value"].mutable_tensor(); in ConvertFloatTensorConst()
201 tensorflow::NodeDef* const_op = tensorflow_graph->add_node(); in ConvertFloatTensorConst() local
202 const_op->set_op("Const"); in ConvertFloatTensorConst()
203 const_op->set_name(name); in ConvertFloatTensorConst()
204 (*const_op->mutable_attr())["dtype"].set_type(DT_FLOAT); in ConvertFloatTensorConst()
205 auto* tensor = (*const_op->mutable_attr())["value"].mutable_tensor(); in ConvertFloatTensorConst()
[all …]
/external/tensorflow/tensorflow/compiler/tf2xla/cc/
DBUILD20 "//tensorflow/cc:const_op",
43 "//tensorflow/cc:const_op",
/external/tensorflow/tensorflow/cc/
DBUILD247 name = "const_op",
248 srcs = ["ops/const_op.cc"],
249 hdrs = ["ops/const_op.h"],
267 ":const_op",
522 "ops/const_op.h",
533 ":const_op",
/external/deqp-deps/SPIRV-Tools/source/opt/
Dfold.cpp616 const analysis::Constant* const_op = const_mgr->FindDeclaredConstant(id); in FoldInstructionToConstant() local
617 if (!const_op) { in FoldInstructionToConstant()
621 constants.push_back(const_op); in FoldInstructionToConstant()
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dfold.cpp635 const analysis::Constant* const_op = const_mgr->FindDeclaredConstant(id); in FoldInstructionToConstant() local
636 if (!const_op) { in FoldInstructionToConstant()
640 constants.push_back(const_op); in FoldInstructionToConstant()
/external/tensorflow/tensorflow/contrib/cmake/
Dtf_cc_ops.cmake103 "${tensorflow_source_dir}/tensorflow/cc/ops/const_op.h"
104 "${tensorflow_source_dir}/tensorflow/cc/ops/const_op.cc"
/external/tensorflow/tensorflow/contrib/makefile/sub_makefiles/quantization/
DMakefile.in46 tensorflow/cc/ops/const_op.cc \
/external/tensorflow/tensorflow/contrib/memory_stats/
DBUILD62 "//tensorflow/cc:const_op",
/external/tensorflow/tensorflow/core/grappler/optimizers/data/vectorization/
DBUILD18 "//tensorflow/cc:const_op",
/external/tensorflow/tensorflow/tools/graph_transforms/
Dquantize_nodes_test.cc160 auto const_op = [&](const string& name, const TensorShape& shape, in TestIgnoreOps() local
171 Output a_op = const_op("a_op", {m, k}, {2}); in TestIgnoreOps()
172 Output b_op = const_op("b_op", {k, n}, {3}); in TestIgnoreOps()
173 Output c_op = const_op("c_op", {m, k}, {1}); in TestIgnoreOps()
174 Output d_op = const_op("d_op", {k, n}, {4}); in TestIgnoreOps()
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/
DBUILD27 "const_op.cc",
/external/tensorflow/tensorflow/cc/framework/
Dcc_op_gen.cc1047 #include "tensorflow/cc/ops/const_op.h" in StartFiles()
/external/tensorflow/tensorflow/compiler/tf2tensorrt/convert/
Dconvert_nodes_test.cc132 auto const_op = ops::Const(s.WithOpName(name), t); in MakeConstNodeDef() local
133 return const_op.node()->def(); in MakeConstNodeDef()
/external/tensorflow/tensorflow/
Dtensorflow.bzl638 clean_dep("//tensorflow/cc:const_op"),