Home
last modified time | relevance | path

Searched refs:node_def_ (Results 1 – 18 of 18) sorted by relevance

/external/tensorflow/tensorflow/core/framework/
Dnode_def_builder.cc43 node_def_.set_name(string(name)); in NodeDefBuilder()
51 if (debug != nullptr) MergeDebugInfo(*debug, &node_def_); in NodeDefBuilder()
57 MergeDebugInfo(debug, &node_def_); in NodeDefBuilder()
62 node_def_.set_name(string(name)); in NodeDefBuilder()
68 node_def_.set_op(op_def_->name()); in Initialize()
90 Status status = fake_input(*op_def_, inputs_specified_, node_def_, this); in Input()
180 node_def_.add_input(strings::StrCat(src_node, ":", src_index)); in AddInput()
182 node_def_.add_input(string(src_node)); in AddInput()
210 node_def_.set_device(string(device_spec)); in Device()
232 node_def_.name(), "'"); in Finalize()
[all …]
Dfake_input.cc48 const NodeDef* const node_def_; member in tensorflow::__anonb827cc640111::FakeInputImpl
64 node_def_(node_def), in FakeInputImpl()
104 Status status = GetNodeAttr(*node_def_, arg_->type_list_attr(), &dts); in AddInputToBuilder()
131 Status status = GetNodeAttr(*node_def_, arg_->number_attr(), n); in GetN()
148 Status status = GetNodeAttr(*node_def_, arg_->type_attr(), dt); in GetDataType()
Dshape_inference.cc41 node_def_(CHECK_NOTNULL(node_def)) { in InferenceContext()
96 node_def_(CHECK_NOTNULL(node_def)) { in InferenceContext()
148 node_def_(CHECK_NOTNULL(node_def)) { in InferenceContext()
169 << i << " for " << node_def_->name() << " of type " << node_def_->op(); in Run()
222 string InferenceContext::op() const { return node_def_->op(); } in op()
230 construction_status_ = NameRangesForNode(*node_def_, op_def, &input_name_map_, in PreInputInit()
349 ProtoDebugString(*node_def_)); in DebugString()
1178 " for '", node_def_->name(), "' (op: '", node_def_->op(), in AttachContext()
Dnode_def_builder.h137 const string& node_name() const { return node_def_.name(); } in node_name()
174 NodeDef node_def_; variable
Dshape_inference.h336 AttrSlice attrs() const { return AttrSlice(*node_def_); } in attrs()
773 const NodeDef* node_def_; variable
820 return GetNodeAttr(*node_def_, attr_name, value); in GetAttr()
/external/tensorflow/tensorflow/core/common_runtime/eager/
Dattr_builder.cc159 if (include_those_in_node_def && node_def_ != nullptr) { in FillAttrValueMap()
160 for (AttrValueMap::const_iterator it = node_def_->attr().begin(); in FillAttrValueMap()
161 it != node_def_->attr().end(); ++it) { in FillAttrValueMap()
184 if (node_def_finalized_) return *node_def_; in BuildNodeDef()
187 node_def_->add_input("dummy_input"); in BuildNodeDef()
189 FillAttrValueMap(node_def_->mutable_attr(), false); in BuildNodeDef()
191 return *node_def_; in BuildNodeDef()
248 if (node_def_ != nullptr) { in BuildCacheKeyForDevice()
252 for (const auto& attr : node_def_->attr()) { in BuildCacheKeyForDevice()
283 if (node_def_ == nullptr) { in MayBeInitializeNodeDef()
[all …]
Dattr_builder.h90 node_def_(nullptr), in AttrBuilder()
99 SetInAttrValueMap(node_def_->mutable_attr(), string(attr_name), value); in Set()
143 std::unique_ptr<NodeDef> node_def_; variable
/external/tensorflow/tensorflow/core/kernels/
Dops_testutil.h90 void set_node_def(const NodeDef& node_def) { node_def_.CopyFrom(node_def); } in set_node_def()
93 NodeDef* node_def() { return &node_def_; } in node_def()
105 node_def_, graph_def_version, &status); in InitOpWithGraphVersion()
231 NodeDef node_def_; variable
/external/tensorflow/tensorflow/contrib/graph_editor/
Dtransform.py155 node_def_ = deepcopy(op.node_def)
160 node_def_.name = name_
164 node_def_ = nodedef_fn(node_def_)
175 op_ = tf_ops.Operation(node_def_, info.graph_, new_inputs, output_types_,
/external/tensorflow/tensorflow/core/kernels/data/
Dconcatenate_dataset_op_test.cc51 node_def_ = test::function::NDef( in CreateConcatenateDatasetKernel()
54 TF_RETURN_IF_ERROR(CreateOpKernel(node_def_, op_kernel)); in CreateConcatenateDatasetKernel()
69 NodeDef node_def_; member in tensorflow::data::__anon516b62740111::ConcatenateDatasetOpTest
Dzip_dataset_op_test.cc61 node_def_ = test::function::NDef( in CreateZipDatasetKernel()
64 TF_RETURN_IF_ERROR(CreateOpKernel(node_def_, op_kernel)); in CreateZipDatasetKernel()
79 NodeDef node_def_; member in tensorflow::data::__anon6eabbe220111::ZipDatasetOpTest
Dtensor_dataset_op_test.cc48 node_def_ = test::function::NDef( in CreateTensorDatasetKernel()
51 TF_RETURN_IF_ERROR(CreateOpKernel(node_def_, tensor_dataset_kernel)); in CreateTensorDatasetKernel()
66 NodeDef node_def_; member in tensorflow::data::__anond871d70a0111::TensorDatasetOpTest
Dsparse_tensor_slice_dataset_op_test.cc42 node_def_ = test::function::NDef(kNodeName, kOpName, in CreateSparseTensorSliceDatasetKernel()
45 TF_RETURN_IF_ERROR(CreateOpKernel(node_def_, op_kernel)); in CreateSparseTensorSliceDatasetKernel()
59 NodeDef node_def_; member in tensorflow::data::__anon3d973c260111::SparseTensorSliceDatasetOpTest
Dtake_dataset_op_test.cc41 node_def_ = test::function::NDef( in CreateTakeDatasetKernel()
44 TF_RETURN_IF_ERROR(CreateOpKernel(node_def_, op_kernel)); in CreateTakeDatasetKernel()
58 NodeDef node_def_; member in tensorflow::data::__anon0bec85d40111::TakeDatasetOpTest
Drepeat_dataset_op_test.cc44 node_def_ = test::function::NDef( in CreateRepeatDatasetKernel()
47 TF_RETURN_IF_ERROR(CreateOpKernel(node_def_, op_kernel)); in CreateRepeatDatasetKernel()
61 NodeDef node_def_; member in tensorflow::data::__anonf4d903700111::RepeatDatasetOpTest
Dtensor_slice_dataset_op_test.cc49 node_def_ = test::function::NDef( in CreateTensorSliceDatasetKernel()
52 TF_RETURN_IF_ERROR(CreateOpKernel(node_def_, tensor_dataset_kernel)); in CreateTensorSliceDatasetKernel()
68 NodeDef node_def_; member in tensorflow::data::__anona47dbc190111::TensorSliceDatasetOpTest
/external/tensorflow/tensorflow/compiler/tests/
Drandomized_tests.cc144 NodeDef node_def_; member in tensorflow::__anonf5fb02740111::OpTestBuilder
149 node_def_.set_op(op_name); in OpTestBuilder()
193 AddNodeAttr(attr_name, std::forward<T>(value), &node_def_); in Attr()
212 TF_RETURN_IF_ERROR(op_registry->LookUpOpDef(node_def_.op(), &op_def)); in BuildGraph()
215 *test_def = node_def_; in BuildGraph()
/external/tensorflow/tensorflow/core/common_runtime/
Dshape_refiner.cc196 nested_inferences[node_name]->get_context()->node_def_ = in InferShapesForFunction()