Home
last modified time | relevance | path

Searched refs:c_api (Results 1 – 25 of 61) sorted by relevance

123

/external/tensorflow/tensorflow/python/framework/
Dc_api_util.py24 from tensorflow.python.client import pywrap_tf_session as c_api unknown
35 self.status = c_api.TF_NewStatus()
40 if c_api is not None and c_api.TF_DeleteStatus is not None:
41 c_api.TF_DeleteStatus(self.status)
50 self.graph = c_api.TF_NewGraph()
55 self.deleter = c_api.TF_DeleteGraph
67 self.options = c_api.TF_NewImportGraphDefOptions()
72 if c_api is not None and c_api.TF_DeleteImportGraphDefOptions is not None:
73 c_api.TF_DeleteImportGraphDefOptions(self.options)
87 if c_api is not None and c_api.TF_DeleteImportGraphDefResults is not None:
[all …]
Dkernels.py22 from tensorflow.python.client import pywrap_tf_session as c_api unknown
29 buf = c_api.TF_GetAllRegisteredKernels()
30 data = c_api.TF_GetBuffer(buf)
42 buf = c_api.TF_GetRegisteredKernelsForOp(name)
43 data = c_api.TF_GetBuffer(buf)
Dimporter.py24 from tensorflow.python.client import pywrap_tf_session as c_api unknown
208 c_api.TF_ImportGraphDefOptionsSetPrefix(options, prefix)
209 c_api.TF_ImportGraphDefOptionsSetUniquifyNames(options, True)
216 c_api.TF_ImportGraphDefOptionsRemapControlDependency(
222 c_api.TF_ImportGraphDefOptionsAddInputMapping(options, src_name, src_idx,
228 c_api.TF_ImportGraphDefOptionsAddReturnOutput(options, op_name, index)
230 c_api.TF_ImportGraphDefOptionsAddReturnOperation(options,
233 c_api.TF_ImportGraphDefOptionsSetValidateColocationConstraints(
318 return_outputs = c_api.TF_ImportGraphDefResultsReturnOutputs(results)
319 return_opers = c_api.TF_ImportGraphDefResultsReturnOperations(results)
[all …]
Dsmart_cond.py21 from tensorflow.python.client import pywrap_tf_session as c_api unknown
79 pred_value = c_api.TF_TryEvaluateConstant_wrapper(pred.graph._c_graph,
Dfunction.py30 from tensorflow.python.client import pywrap_tf_session as c_api unknown
321 c_api.TF_FunctionToFunctionDef(self._c_func.func, buf)
323 proto_data = c_api.TF_GetBuffer(buf)
452 c_func = c_api.TF_GraphToFunction_wrapper(
491 c_api.TF_FunctionSetAttrValueProto(self._c_func.func, compat.as_str(name),
857 handle_data = c_api.GetHandleShapeAndType(tensor.graph._c_graph,
861 c_api.SetHandleShapeAndType(ph.graph._c_graph, ph._as_tf_output(),
1125 c_func = c_api.TF_FunctionImportFunctionDef(serialized)
1345 c_api.TF_FunctionToFunctionDef(c_func, buf)
1346 data = c_api.TF_GetBuffer(buf)
Derrors_impl.py26 from tensorflow.python.client import pywrap_tf_session as c_api unknown
556 if c_api.TF_GetCode(self.status.status) != 0:
559 compat.as_text(c_api.TF_Message(self.status.status)),
560 c_api.TF_GetCode(self.status.status))
/external/tensorflow/tensorflow/c/eager/parallel_device/
DBUILD61 "//tensorflow/c:c_api",
63 "//tensorflow/c/eager:c_api",
77 "//tensorflow/c:c_api",
79 "//tensorflow/c/eager:c_api",
97 "//tensorflow/c:c_api",
99 "//tensorflow/c/eager:c_api",
118 "//tensorflow/c:c_api",
120 "//tensorflow/c/eager:c_api",
133 "//tensorflow/c:c_api",
135 "//tensorflow/c/eager:c_api",
[all …]
/external/OpenCSD/decoder/build/linux/rctdl_c_api_lib/
Dmakefile42 VPATH= $(OCSD_SOURCE)/c_api
46 -I$(OCSD_SOURCE)/c_api
116 $(INSTALL) -d --mode=0755 $(INST_INC_DST)/c_api
117 $(INSTALL) --mode=0644 $(INST_INC_SRC)/c_api/ocsd_c_api_types.h $(INST_INC_DST)/c_api/
118 $(INSTALL) --mode=0644 $(INST_INC_SRC)/c_api/opencsd_c_api.h $(INST_INC_DST)/c_api/
119 $(INSTALL) --mode=0644 $(INST_INC_SRC)/c_api/ocsd_c_api_custom.h $(INST_INC_DST)/c_api/
/external/tensorflow/tensorflow/lite/c/
DBUILD15 # API implementation as define in `c_api.h`. The exact output library name
37 ":c_api",
58 name = "c_api",
59 srcs = ["c_api.cc"],
60 hdrs = ["c_api.h"],
82 ":c_api",
108 ":c_api",
149 ":c_api",
176 "c_api.h",
186 "c_api.cc",
[all …]
DREADME.md16 * `c_api.h` - Contains the TensorFlow Lite C API for inference. The
24 See the [`c_api.h`](c_api.h) header for API usage details.
46 library together with the necessary headers (`c_api.h`, `c_api_experimental.h`
DCMakeLists.txt49 c_api.h
50 c_api.cc
Dversion_script.lds2 # Export symbols in c_api.h.
/external/tensorflow/tensorflow/c/eager/
DBUILD35 name = "c_api",
37 "c_api.cc",
43 hdrs = ["c_api.h"],
66 "//tensorflow/c:c_api",
119 "c_api.h",
154 ":c_api",
179 ":c_api",
279 "//tensorflow/c:c_api",
338 ":c_api",
347 "//tensorflow/c:c_api",
[all …]
/external/tensorflow/tensorflow/c/
DBUILD31 "c_api.h",
89 "c_api.h",
151 name = "c_api",
153 "c_api.h",
188 "c_api.cc",
192 "c_api.h",
413 ":c_api",
416 "//tensorflow/c/eager:c_api",
619 ":c_api",
633 ":c_api",
[all …]
Dversion_script.lds2 # Export symbols in c_api.h.
/external/tensorflow/tensorflow/tools/ci_build/windows/
Dlibtensorflow_cpu.sh65 cp tensorflow/c/c_api.h \
71 cp tensorflow/c/eager/c_api.h ${DIR}/include/tensorflow/c/eager
78 include/tensorflow/c/eager/c_api.h \
79 include/tensorflow/c/c_api.h \
Dlibtensorflow_gpu.sh65 cp tensorflow/c/c_api.h \
71 cp tensorflow/c/eager/c_api.h ${DIR}/include/tensorflow/c/eager
78 include/tensorflow/c/eager/c_api.h \
79 include/tensorflow/c/c_api.h \
/external/tensorflow/tensorflow/cc/experimental/base/public/
DBUILD28 "//tensorflow/c/eager:c_api",
41 "//tensorflow/c/eager:c_api",
77 "//tensorflow/c/eager:c_api",
/external/tensorflow/tensorflow/python/training/
Dserver_lib.py24 from tensorflow.python.client import pywrap_tf_session as c_api unknown
148 self._server = c_api.TF_NewServer(self._server_def.SerializeToString())
159 c_api.TF_ServerStop(self._server)
178 c_api.TF_ServerStart(self._server)
189 c_api.TF_ServerJoin(self._server)
218 return c_api.TF_ServerTarget(self._server)
/external/tensorflow/tensorflow/lite/ios/
DBUILD.apple86 "//tensorflow/lite/c:c_api.h",
105 ":c_api.h",
123 ":c_api.h",
195 "//tensorflow/lite/c:c_api.h",
205 "//tensorflow/lite/c:c_api",
/external/tensorflow/tensorflow/lite/core/shims/
DBUILD132 name = "c_api",
133 hdrs = ["c/c_api.h"],
140 deps = ["//tensorflow/lite/c:c_api"],
183 ":c_api",
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/c/
DBUILD25 "//tensorflow/c:c_api",
32 "//tensorflow/c/eager:c_api",
/external/tensorflow/tensorflow/cc/saved_model/experimental/public/
DBUILD21 "//tensorflow/c/eager:c_api",
70 "//tensorflow/c/eager:c_api",
/external/tensorflow/tensorflow/java/src/main/native/
DBUILD36 "//tensorflow/c:c_api",
37 "//tensorflow/c/eager:c_api",
/external/tensorflow/tensorflow/c/experimental/saved_model/internal/
DBUILD46 "//tensorflow/c/eager:c_api",
191 "//tensorflow/c/eager:c_api",
359 "//tensorflow/c/eager:c_api",

123