/external/tensorflow/tensorflow/core/framework/ |
D | variant_tensor_data.cc | 24 FromProto(std::move(proto)); in VariantTensorData() 51 bool VariantTensorData::FromProto(VariantTensorDataProto proto) { in FromProto() function in tensorflow::VariantTensorData 57 if (!tmp.FromProto(tensor)) return false; in FromProto() 68 if (!tmp.FromProto(tensor)) return false; in FromConstProto() 89 if (status) FromProto(std::move(proto)); in ParseFromString()
|
D | resource_handle.cc | 25 FromProto(proto); in ResourceHandle() 43 void ResourceHandle::FromProto(const ResourceHandleProto& proto) { in FromProto() function in tensorflow::ResourceHandle 67 if (status) FromProto(proto); in ParseFromString() 101 ps[i].FromProto(proto); in DecodeResourceHandleList()
|
D | attr_value_util.cc | 55 bool success = tensor.FromProto(tp); in TensorProtoHash() 81 bool success = lhs_t.FromProto(lhs); in AreTensorProtosEqual() 85 success = rhs_t.FromProto(rhs); in AreTensorProtosEqual() 210 if (!t.FromProto(tensor_proto)) { in SummarizeTensor()
|
D | resource_handle.h | 86 void FromProto(const ResourceHandleProto& proto);
|
D | tensor_test.cc | 157 EXPECT_TRUE(t2.FromProto(proto)); in TestCopies() 165 EXPECT_TRUE(t2.FromProto(proto)); in TestCopies() 170 EXPECT_TRUE(t3.FromProto(proto)); in TestCopies() 320 EXPECT_TRUE(t2.FromProto(proto)); in TEST() 1193 ASSERT_FALSE(a.FromProto(&allocator, proto)); in TEST() 1205 ASSERT_FALSE(a.FromProto(&allocator, proto)); in TEST() 1217 ASSERT_FALSE(a.FromProto(&allocator, proto)); in TEST() 1566 ASSERT_TRUE(b.FromProto(p)); in BM_FromProto() 1583 ASSERT_TRUE(b.FromProto(p)); in BM_FromProtoCompressed() 1601 ASSERT_TRUE(b.FromProto(p)); in BM_FromProtoCompressedZero()
|
D | variant_tensor_data.h | 83 bool FromProto(VariantTensorDataProto proto);
|
/external/llvm-project/clang/unittests/AST/ |
D | ASTImporterGenericRedeclTest.cpp | 239 auto *FromProto = FirstDeclMatcher<DeclTy>().match(FromTU, getPattern()); in TypedTest_ImportDefinitionAfterImportedPrototype() local 241 ASSERT_FALSE(FromProto->isThisDeclarationADefinition()); in TypedTest_ImportDefinitionAfterImportedPrototype() 244 Decl *ImportedProto = Import(FromProto, Lang_CXX03); in TypedTest_ImportDefinitionAfterImportedPrototype() 262 auto *FromProto = LastDeclMatcher<DeclTy>().match(FromTU, getPattern()); in TypedTest_ImportPrototypeAfterImportedDefinition() local 264 ASSERT_FALSE(FromProto->isThisDeclarationADefinition()); in TypedTest_ImportPrototypeAfterImportedDefinition() 267 Decl *ImportedProto = Import(FromProto, Lang_CXX03); in TypedTest_ImportPrototypeAfterImportedDefinition() 330 auto *FromProto = in TypedTest_ImportDefinitionThenPrototype() local 333 ASSERT_FALSE(FromProto->isThisDeclarationADefinition()); in TypedTest_ImportDefinitionThenPrototype() 336 Decl *ImportedProto = Import(FromProto, Lang_CXX03); in TypedTest_ImportDefinitionThenPrototype() 354 auto *FromProto = in TypedTest_ImportPrototypeThenDefinition() local [all …]
|
/external/tensorflow/tensorflow/core/kernels/ |
D | unique_op_test.cc | 74 CHECK(input.FromProto(GetRandomInt32TensorProto(dim, max_int))); in BM_Unique_INT32() 98 input.FromProto(GetRandomInt32TensorProtoWithRepeat(dim, 200, max_int))); in BM_Unique_INT32_Repeat() 137 CHECK(input.FromProto(GetRandomStringsTensorProto(dim, kMaxStrLen))); in BM_Unique_STRING()
|
D | summary_tensor_op_test.cc | 88 CHECK(string_content_tensor.FromProto(summary.value(0).tensor())); in TEST_F()
|
/external/tensorflow/tensorflow/core/debug/ |
D | debug_io_utils_test.cc | 130 ASSERT_TRUE(a_prime.FromProto(event.summary().value(0).tensor())); in TEST_F() 181 ASSERT_TRUE(b_prime.FromProto(event.summary().value(0).tensor())); in TEST_F() 294 ASSERT_TRUE(a_prime.FromProto(event.summary().value(0).tensor())); in TEST_F() 439 ASSERT_TRUE(a_prime.FromProto(event.summary().value(0).tensor())); in TEST_F()
|
/external/protobuf/csharp/src/Google.Protobuf/Reflection/ |
D | DescriptorDeclaration.cs | 109 … internal static DescriptorDeclaration FromProto(IDescriptor descriptor, Location location) => in FromProto() method in Google.Protobuf.Reflection.DescriptorDeclaration
|
/external/tensorflow/tensorflow/core/common_runtime/ |
D | single_threaded_cpu_device.cc | 65 if (!parsed.FromProto(cpu_allocator(), tensor_proto)) { in MakeTensorFromProto()
|
D | threadpool_device.cc | 93 if (parsed.FromProto(allocator_, tensor_proto)) { in MakeTensorFromProto()
|
/external/tensorflow/tensorflow/core/distributed_runtime/ |
D | tensor_coding.cc | 57 if (!tensor_.FromProto(allocator_, meta_.tensor())) { in InitFrom() 286 if (!parsed.FromProto(allocator_, meta_.tensor())) { in ParseSlow()
|
/external/tensorflow/tensorflow/core/tpu/ |
D | virtual_device.cc | 84 if (!parsed.FromProto(allocator, tensor_proto)) { in MakeTensorFromProto()
|
/external/tensorflow/tensorflow/core/grappler/optimizers/ |
D | evaluation_utils.cc | 54 if (!parsed.FromProto(cpu_allocator(), tensor_proto)) { in MakeTensorFromProto()
|
/external/tensorflow/tensorflow/tools/graph_transforms/ |
D | round_weights.cc | 54 if (!old_tensor.FromProto(old_const_node.attr().at("value").tensor())) { in RoundWeights()
|
D | summarize_graph_main.cc | 133 tensor.FromProto(node.attr().at("value").tensor())) { in PrintStructure() 217 tensor.FromProto(node.attr().at("value").tensor())) { in SummarizeGraph()
|
D | quantize_weights.cc | 57 if (!old_tensor.FromProto(old_const_node.attr().at("value").tensor())) { in QuantizeWeights()
|
/external/tensorflow/tensorflow/core/distributed_runtime/rpc/ |
D | grpc_tensor_coding_test.cc | 49 EXPECT_TRUE(result_tensor.FromProto(response.tensor())); in Validate()
|
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/ |
D | const_op.cc | 120 OP_REQUIRES(ctx, tensor.FromProto(cpu_allocator(), proto_), in Compile()
|
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/utils/ |
D | convert_tensor.cc | 174 if (!t.FromProto(input_tensor)) in ConvertTensorProto() 378 if (!output_tensor->FromProto(tensor_proto)) { in ConvertToTensor()
|
/external/tensorflow/tensorflow/core/profiler/internal/ |
D | tfprof_node.h | 228 void FromProto(const ExecProfile& exec) { in FromProto() function 313 FromProto(node, profile, id_to_string); in TFGraphNode() 435 void FromProto(const ProfileNode& node, const ProfileProto& profile, in FromProto() function 453 exec.FromProto(exec_pb.second); in FromProto()
|
/external/tensorflow/tensorflow/core/tpu/kernels/ |
D | tpu_compile_op_common.cc | 108 xla::HloSharding::FromProto(proto_arg.sharding())); in SetPerCoreArgShapes() 218 CHECK(tensor.FromProto( in BuildComputationArgumentDescriptions() 243 xla::HloSharding::FromProto(proto_arg.sharding())); in BuildComputationArgumentDescriptions() 264 xla::HloSharding::FromProto(proto_arg.sharding())); in GetShardingInfo()
|
/external/tensorflow/tensorflow/core/tpu/kernels/xla/ |
D | infeed_op.cc | 55 xla::HloSharding::FromProto(*sharding)); in UpdateInfeedLayout()
|