Home
last modified time | relevance | path

Searched refs:add_shape (Results 1 – 24 of 24) sorted by relevance

/external/tensorflow/tensorflow/core/kernels/hexagon/
Dgraph_transferer.cc158 graph_input_node_info.add_shape(dim); in LoadGraphFromProto()
183 graph_output_node_info.add_shape(dim); in LoadGraphFromProto()
489 const_node_info.add_shape(shape_array[0]); in RegisterConstantNode()
490 const_node_info.add_shape(shape_array[1]); in RegisterConstantNode()
491 const_node_info.add_shape(shape_array[2]); in RegisterConstantNode()
492 const_node_info.add_shape(shape_array[3]); in RegisterConstantNode()
520 const_node_info.add_shape(static_cast<int64>(shape[0])); in RegisterConstantShape()
521 const_node_info.add_shape(static_cast<int64>(shape[1])); in RegisterConstantShape()
522 const_node_info.add_shape(static_cast<int64>(shape[2])); in RegisterConstantShape()
523 const_node_info.add_shape(static_cast<int64>(shape[3])); in RegisterConstantShape()
[all …]
/external/tensorflow/tensorflow/core/grappler/optimizers/data/
Dhoist_random_uniform.cc83 (*random_dataset.mutable_attr())["output_shapes"].mutable_list()->add_shape(); in MakeRandomDataset()
103 ->add_shape() in MakeBatchTwo()
Dmap_vectorization.cc244 TensorShapeProto* shape = output_shapes_attr.mutable_list()->add_shape(); in AddNewBatchNode()
Dauto_shard.cc173 ->add_shape(); in AddShardNode()
/external/tensorflow/tensorflow/core/framework/
Dattr_value_util.cc528 v.AsProto(out->mutable_list()->add_shape()); in SetAttrValue()
535 *out->mutable_list()->add_shape() = v; in SetAttrValue()
543 v.AsProto(out->mutable_list()->add_shape()); in SetAttrValue()
Dgraph_to_functiondef.cc444 *(value.mutable_list()->add_shape()) = attr.second.shape(); in GraphToFunctionDef()
451 *(value.mutable_list()->add_shape()) = in GraphToFunctionDef()
Dfunction_test.cc1508 TensorShapeProto* shape_proto = shape_attr.mutable_list()->add_shape(); in TEST()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/utils/
Dexport_utils.cc202 *list->add_shape() = nested_value.shape(); in ConvertAttribute()
228 *list->add_shape() = attr_val.shape(); in ConvertAttribute()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/translate/
Dexport_tf_dialect_op.cc75 TensorShapeProto& tshape = *shape_list.add_shape(); in SetShapeAttribute()
/external/tensorflow/tensorflow/core/distributed_runtime/eager/
Deager_service_impl.cc506 [response] { return response->add_shape(); })); in RunComponentFunction()
545 [queue_response] { return queue_response->add_shape(); }, in ExecuteOp()
/external/tensorflow/tensorflow/tools/graph_transforms/
Dfold_constants_test.cc146 auto* shape_proto = shape_attr.mutable_list()->add_shape(); in TestPreserveOutputShapes()
/external/tensorflow/tensorflow/lite/toco/
Dimport_tensorflow_test.cc90 tensorflow::TensorShapeProto* shape = shapes->add_shape(); in BuildNode()
/external/tensorflow/tensorflow/core/grappler/optimizers/
Dgeneric_layout_optimizer_test.cc684 auto* shape = output_shapes.mutable_list()->add_shape(); in TEST_F()
Dlayout_optimizer.cc884 auto output_shape = attr_output_shape.mutable_list()->add_shape(); in AddNodeTranspose()
Dgeneric_layout_optimizer_transposer.cc353 *attr_output_shape.mutable_list()->add_shape() = fanin_shape; in CreateTransposeNode()
Dconstant_folding_test.cc4174 output_shapes.mutable_list()->add_shape(); in TEST_F()
4176 TensorShapeProto* g_shape = output_shapes.mutable_list()->add_shape(); in TEST_F()
Dconstant_folding.cc2499 ->add_shape(); in SimplifyCase()
/external/tensorflow/tensorflow/compiler/xla/client/
Dxla_builder_test.cc199 TF_ASSERT_OK_AND_ASSIGN(auto add_shape, b.GetShape(add)); in TEST_F()
200 EXPECT_TRUE(ShapeUtil::Equal(add_shape, x_shape)); in TEST_F()
/external/tensorflow/tensorflow/core/grappler/costs/
Dgraph_properties.cc820 output_attr.mutable_list()->add_shape()->Swap(&proto); in UpdateFunction()
836 shape_handle, shape_attr.mutable_list()->add_shape()); in UpdateFunction()
2735 TensorShapeProto* proto = attr_output_shape.mutable_list()->add_shape(); in AnnotateOutputShapes()
/external/tensorflow/tensorflow/core/profiler/internal/
Dtfprof_node.h386 node_.add_shape(s); in ToProto()
/external/tensorflow/tensorflow/lite/delegates/gpu/cl/
Dserialization.cc474 tensor_builder.add_shape(shape_fb); in Encode()
/external/tensorflow/tensorflow/lite/delegates/gpu/common/task/
Dserialization_base_generated.h1443 void add_shape(flatbuffers::Offset<tflite::gpu::data::BHWDC> shape) { in add_shape() function
1470 builder_.add_shape(shape);
/external/tensorflow/tensorflow/core/common_runtime/
Dprocess_function_library_runtime.cc386 *shape_attr_value.mutable_list()->add_shape() = shape_proto; in SetArgShape()
/external/tensorflow/tensorflow/lite/schema/
Dschema_generated.h3771 void add_shape(flatbuffers::Offset<flatbuffers::Vector<int32_t>> shape) {
3823 builder_.add_shape(shape);