/external/tensorflow/tensorflow/c/ |
D | c_test_util.h | 47 TF_Operation* Placeholder(TF_Graph* graph, TF_Status* s, 50 TF_Operation* Const(TF_Tensor* t, TF_Graph* graph, TF_Status* s, 53 TF_Operation* ScalarConst(int32_t v, TF_Graph* graph, TF_Status* s, 56 TF_Operation* ScalarConst(double v, TF_Graph* graph, TF_Status* s, 59 TF_Operation* Add(TF_Operation* l, TF_Operation* r, TF_Graph* graph, 62 TF_Operation* AddNoCheck(TF_Operation* l, TF_Operation* r, TF_Graph* graph, 66 TF_Graph* graph, TF_Operation* ctrl_op, 69 TF_Operation* Add(TF_Output l, TF_Output r, TF_Graph* graph, TF_Status* s, 72 TF_Operation* Min(TF_Operation* l, TF_Operation* r, TF_Graph* graph, 76 TF_Operation* MinWithDevice(TF_Operation* l, TF_Operation* r, TF_Graph* graph, [all …]
|
D | c_api_internal.h | 74 struct TF_Graph { struct 75 TF_Graph(); 105 TF_Graph* parent; argument 110 TF_OperationDescription(TF_Graph* g, const char* op_type, in TF_OperationDescription() argument 115 TF_Graph* graph; 124 TF_Session(tensorflow::Session* s, TF_Graph* g); 127 TF_Graph* graph; 205 void TF_GraphSetOutputHandleShapesAndTypes(TF_Graph* graph, TF_Output output, 212 void RecordMutation(TF_Graph* graph, const TF_Operation& op,
|
D | c_api.h | 337 typedef struct TF_Graph TF_Graph; typedef 340 TF_CAPI_EXPORT extern TF_Graph* TF_NewGraph(); 344 TF_CAPI_EXPORT extern void TF_DeleteGraph(TF_Graph*); 390 TF_CAPI_EXPORT extern void TF_GraphSetTensorShape(TF_Graph* graph, 403 TF_CAPI_EXPORT extern int TF_GraphGetTensorNumDims(TF_Graph* graph, 419 TF_CAPI_EXPORT extern void TF_GraphGetTensorShape(TF_Graph* graph, 429 TF_Graph* graph, const char* op_type, const char* oper_name); 855 TF_Graph* graph, const char* oper_name); 863 TF_CAPI_EXPORT extern TF_Operation* TF_GraphNextOperation(TF_Graph* graph, 872 TF_CAPI_EXPORT extern void TF_GraphToGraphDef(TF_Graph* graph, [all …]
|
D | python_api.h | 26 void AddControlInput(TF_Graph* graph, TF_Operation* op, TF_Operation* input); 30 void SetAttr(TF_Graph* graph, TF_Operation* op, const char* attr_name, 33 void SetRequestedDevice(TF_Graph* graph, TF_Operation* op, const char* device); 35 void UpdateEdge(TF_Graph* graph, TF_Output new_src, TF_Input dst, 38 void RemoveAllControlInputs(TF_Graph* graph, TF_Operation* op);
|
D | c_test_util.cc | 84 void PlaceholderHelper(TF_Graph* graph, TF_Status* s, const char* name, in PlaceholderHelper() 93 TF_Operation* Placeholder(TF_Graph* graph, TF_Status* s, const char* name) { in Placeholder() 99 void ConstHelper(TF_Tensor* t, TF_Graph* graph, TF_Status* s, const char* name, in ConstHelper() 110 TF_Operation* Const(TF_Tensor* t, TF_Graph* graph, TF_Status* s, in Const() 117 TF_Operation* ScalarConst(int32_t v, TF_Graph* graph, TF_Status* s, in ScalarConst() 123 TF_Operation* ScalarConst(double v, TF_Graph* graph, TF_Status* s, in ScalarConst() 129 void AddOpHelper(TF_Operation* l, TF_Operation* r, TF_Graph* graph, in AddOpHelper() 142 TF_Operation* Add(TF_Operation* l, TF_Operation* r, TF_Graph* graph, in Add() 149 TF_Operation* AddNoCheck(TF_Operation* l, TF_Operation* r, TF_Graph* graph, in AddNoCheck() 157 TF_Graph* graph, TF_Operation* ctrl_op, in AddWithCtrlDependency() [all …]
|
D | python_api.cc | 22 void AddControlInput(TF_Graph* graph, TF_Operation* op, TF_Operation* input) { in AddControlInput() 28 void SetAttr(TF_Graph* graph, TF_Operation* op, const char* attr_name, in SetAttr() 43 void SetRequestedDevice(TF_Graph* graph, TF_Operation* op, const char* device) { in SetRequestedDevice() 49 void UpdateEdge(TF_Graph* graph, TF_Output new_src, TF_Input dst, in UpdateEdge() 90 void RemoveAllControlInputs(TF_Graph* graph, TF_Operation* op) { in RemoveAllControlInputs()
|
D | c_api.cc | 640 void RecordMutation(TF_Graph* graph, const TF_Operation& op, in RecordMutation() 677 void TF_GraphSetOutputHandleShapesAndTypes(TF_Graph* graph, TF_Output output, in TF_GraphSetOutputHandleShapesAndTypes() 1007 void TF_GraphSetTensorShape(TF_Graph* graph, TF_Output output, in TF_GraphSetTensorShape() 1025 int TF_GraphGetTensorNumDims(TF_Graph* graph, TF_Output output, in TF_GraphGetTensorNumDims() 1048 void TF_GraphGetTensorShape(TF_Graph* graph, TF_Output output, int64_t* dims, in TF_GraphGetTensorShape() 1095 static TF_OperationDescription* TF_NewOperationLocked(TF_Graph* graph, in TF_NewOperationLocked() 1102 TF_OperationDescription* TF_NewOperation(TF_Graph* graph, const char* op_type, in TF_NewOperation() 1827 TF_Graph::TF_Graph() in TF_Graph() function in TF_Graph 1834 TF_Graph* TF_NewGraph() { return new TF_Graph; } in TF_NewGraph() 1836 void TF_DeleteGraph(TF_Graph* g) { in TF_DeleteGraph() [all …]
|
D | c_api_function.cc | 388 const TF_Graph* fn_body, const char* fn_name, int ninputs, in ProcessInputs() 424 Status ProcessOutputs(const TF_Graph* fn_body, const char* fn_name, in ProcessOutputs() 447 const TF_Graph* fn_body, const char* fn_name, int num_opers, in ComputeBodyNodes() 487 TF_Function* TF_GraphToFunction(const TF_Graph* fn_body, const char* fn_name, in TF_GraphToFunction() 539 void TF_GraphCopyFunction(TF_Graph* g, const TF_Function* func, in TF_GraphCopyFunction() 562 int TF_GraphNumFunctions(TF_Graph* g) { in TF_GraphNumFunctions() 567 int TF_GraphGetFunctions(TF_Graph* g, TF_Function** funcs, int max_func, in TF_GraphGetFunctions()
|
D | c_api_test.cc | 93 std::unique_ptr<TF_Graph, decltype(&TF_DeleteGraph)> graph(TF_NewGraph(), in GPUDeviceName() 340 TF_Graph* graph = TF_NewGraph(); in TEST() 437 TF_Graph* graph = TF_NewGraph(); in TEST() 637 TF_Graph* graph = TF_NewGraph(); in TEST() 814 TF_Graph* graph = TF_NewGraph(); in TEST() 865 TF_Graph* graph = TF_NewGraph(); in TEST() 921 TF_Graph* graph = TF_NewGraph(); in TEST() 980 TF_Graph* graph = TF_NewGraph(); in RunMinTest() 1042 TF_Graph* graph = TF_NewGraph(); in TEST() 1112 TF_Graph* graph = TF_NewGraph(); in TEST() [all …]
|
D | c_api_function_test.cc | 388 TF_Graph* func_graph_; 389 TF_Graph* host_graph_; 1213 std::unique_ptr<TF_Graph, decltype(&TF_DeleteGraph)> func_graph( in DefineFunction() 1506 std::unique_ptr<TF_Graph, decltype(&TF_DeleteGraph)> func_graph( in DefineStatefulFunction()
|
D | while_loop_test.cc | 127 TF_Graph* graph_;
|
/external/tensorflow/tensorflow/java/src/main/native/ |
D | graph_jni.cc | 23 TF_Graph* requireHandle(JNIEnv* env, jlong handle) { in requireHandle() 24 static_assert(sizeof(jlong) >= sizeof(TF_Graph*), in requireHandle() 31 return reinterpret_cast<TF_Graph*>(handle); in requireHandle() 42 TF_DeleteGraph(reinterpret_cast<TF_Graph*>(handle)); in Java_org_tensorflow_Graph_delete() 49 TF_Graph* g = requireHandle(env, handle); in Java_org_tensorflow_Graph_operation() 61 TF_Graph* g = requireHandle(env, handle); in Java_org_tensorflow_Graph_nextOperation() 80 TF_Graph* g = requireHandle(env, handle); in Java_org_tensorflow_Graph_importGraphDef() 110 TF_Graph* g = requireHandle(env, handle); in Java_org_tensorflow_Graph_toGraphDef()
|
D | operation_jni.cc | 40 TF_Graph* requireGraphHandle(JNIEnv* env, jlong handle) { in requireGraphHandle() 41 return requireHandleImpl<TF_Graph>(env, handle); in requireGraphHandle() 90 TF_Graph* graph = requireGraphHandle(env, graph_handle); in Java_org_tensorflow_Operation_shape() 143 TF_Graph* graph = requireGraphHandle(env, graph_handle); in Java_org_tensorflow_Operation_dtype()
|
D | session_jni.cc | 116 TF_Graph* graph = reinterpret_cast<TF_Graph*>(graph_handle); in Java_org_tensorflow_Session_allocate2()
|
D | saved_model_bundle_jni.cc | 52 TF_Graph* graph = TF_NewGraph(); in Java_org_tensorflow_SavedModelBundle_load()
|
D | operation_builder_jni.cc | 61 TF_Graph* graph = reinterpret_cast<TF_Graph*>(graph_handle); in Java_org_tensorflow_OperationBuilder_allocate()
|
/external/tensorflow/tensorflow/contrib/tensorrt/segment/ |
D | segment_test.cc | 32 bool GetGraphDef(TF_Graph* graph, tensorflow::GraphDef* graph_def); 34 TF_Operation* Placeholder(TF_Graph* graph, TF_Status* s, const char* name); 35 TF_Operation* Add(TF_Operation* l, TF_Operation* r, TF_Graph* graph, 42 void PlaceholderHelper(TF_Graph* graph, TF_Status* s, const char* name, 44 void AddHelper(TF_Operation* l, TF_Operation* r, TF_Graph* graph, 50 bool SegmentTest::GetGraphDef(TF_Graph* graph, in GetGraphDef() 70 void SegmentTest::PlaceholderHelper(TF_Graph* graph, TF_Status* s, in PlaceholderHelper() 79 TF_Operation* SegmentTest::Placeholder(TF_Graph* graph, TF_Status* s, in Placeholder() 86 void SegmentTest::AddHelper(TF_Operation* l, TF_Operation* r, TF_Graph* graph, in AddHelper() 100 TF_Graph* graph, TF_Status* s, in Add() [all …]
|
/external/tensorflow/tensorflow/python/client/ |
D | tf_session_helper.h | 114 TF_Graph* graph, TF_Output output, TF_Status* out_status, 178 const TF_Graph* fn_body, const char* fn_name, bool append_hash_to_fn_name, 194 TF_Graph* graph, TF_Output output, 201 void TF_GraphSetTensorShape_wrapper(TF_Graph* graph, TF_Output output, 207 std::vector<int64_t> TF_GraphGetTensorShape_wrapper(TF_Graph* graph,
|
D | tf_session_helper.cc | 330 TF_Graph* graph, TF_Output output, TF_Status* out_status, in TF_GraphGetTensorShapeHelper() 417 const TF_Graph* fn_body, const char* fn_name, bool append_hash_to_fn_name, in TF_GraphToFunction_wrapper() 450 TF_Graph* graph, TF_Output output, in TF_GraphSetOutputHandleShapesAndTypes_wrapper() 463 void TF_GraphSetTensorShape_wrapper(TF_Graph* graph, TF_Output output, in TF_GraphSetTensorShape_wrapper() 473 std::vector<int64_t> TF_GraphGetTensorShape_wrapper(TF_Graph* graph, in TF_GraphGetTensorShape_wrapper()
|
/external/tensorflow/tensorflow/go/ |
D | graph.go | 53 c *C.TF_Graph
|
/external/tensorflow/tensorflow/c/eager/ |
D | c_api.cc | 87 TF_Graph* graph = TF_NewGraph(); in TFE_NewContext() 111 TF_Graph* graph = ctx->session->graph; in TFE_DeleteContext()
|
D | c_api_test.cc | 632 TF_Graph* function_graph = TF_NewGraph(); in TEST() 694 TF_Graph* function_graph = TF_NewGraph(); in TEST()
|
/external/tensorflow/tensorflow/docs_src/extend/ |
D | language_bindings.md | 74 corresponds to a `TF_Graph` in the C API. Mainly used as an argument when
|