Home
last modified time | relevance | path

Searched refs:MessageToBuffer (Results 1 – 11 of 11) sorted by relevance

/external/tensorflow/tensorflow/c/experimental/grappler/
Dgrappler.cc91 TF_RETURN_IF_ERROR(MessageToBuffer(item.graph, graph_buf.get())); in Optimize()
317 tensorflow::MessageToBuffer(tensor_properties[i], properties[i]); in TF_GetInputPropertiesList()
336 tensorflow::MessageToBuffer(tensor_properties[i], properties[i]); in TF_GetOutputPropertiesList()
375 s = tensorflow::MessageToBuffer(*op_def_ptr, buf); in TF_LookUpOpDef()
Dgrappler_test.cc286 Status s = MessageToBuffer(g_def, g_buf); in TEST()
/external/tensorflow/tensorflow/c/
Dtf_buffer_internal.h29 Status MessageToBuffer(const tensorflow::protobuf::MessageLite& in,
Dtf_buffer.cc55 Status MessageToBuffer(const tensorflow::protobuf::MessageLite& in, in MessageToBuffer() function
Dc_api.cc441 status->status = MessageToBuffer(run_metadata_proto, run_metadata); in TF_Run_Helper()
581 TF_CHECK_OK(MessageToBuffer(op_list, ret)); in TF_GetAllOpList()
1456 status->status = MessageToBuffer(attr->shape(), value); in TF_OperationGetAttrTensorShapeProto()
1473 status->status = MessageToBuffer(attr->list().shape(i), values[i]); in TF_OperationGetAttrTensorShapeProtoList()
1510 status->status = MessageToBuffer(*attr, output_attr_value); in TF_OperationGetAttrValueProto()
1549 status->status = MessageToBuffer(oper->node.def(), output_node_def); in TF_OperationToNodeDef()
1615 status->status = MessageToBuffer(def, output_graph_def); in TF_GraphToGraphDef()
1626 status->status = MessageToBuffer(*op_def, output_op_def); in TF_GraphGetOpDef()
1636 status->status = MessageToBuffer(versions, output_version_def); in TF_GraphVersions()
2266 status->status = MessageToBuffer(bundle.meta_graph_def, meta_graph_def); in TF_LoadSessionFromSavedModel()
[all …]
Dkernels.cc338 tensorflow::MessageToBuffer(fdef_lib, serialized_function_def_library); in TF_GetSerializedFunctionDefLibrary()
353 tensorflow::MessageToBuffer(config_proto, serialized_config_proto); in TF_GetSerializedConfigProto()
572 cc_status = tensorflow::MessageToBuffer(function, buffer); in TF_OpKernelConstruction_GetAttrFunction()
629 status->status = MessageToBuffer(cc_ctx->def(), ret); in TF_OpKernelConstruction_GetNodeDef()
Dc_api_function.cc291 status->status = MessageToBuffer(func->fdef, output_func_def); in TF_FunctionToFunctionDef()
331 status->status = MessageToBuffer(it->second, output_attr_value); in TF_FunctionGetAttrValueProto()
Dc_api_experimental.cc167 TF_CHECK_OK(MessageToBuffer(config, ret)); in TF_CreateConfig()
179 TF_CHECK_OK(MessageToBuffer(options, ret)); in TF_CreateRunOptions()
337 TF_CHECK_OK(MessageToBuffer(server_def, ret)); in TFE_GetServerDef()
Dc_api_test.cc1554 TF_CHECK_OK(MessageToBuffer(t_proto, t_buffer)); in TEST()
2634 TF_CHECK_OK(MessageToBuffer(node_in, buffer)); in TEST()
/external/tensorflow/tensorflow/c/eager/
Dc_api.cc960 status->status = MessageToBuffer(*run_metadata, buf); in TFE_ContextExportRunMetadata()
996 status->status = MessageToBuffer(name_and_attrs, buf); in TFE_OpAttrsSerialize()
/external/tensorflow/tensorflow/python/client/
Dtf_session_helper.cc255 s = MessageToBuffer(run_metadata_proto, run_metadata); in RunCallableHelper()