Home
last modified time | relevance | path

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

12

/external/tensorflow/tensorflow/python/framework/
Dc_api_util.py24 from tensorflow.python import pywrap_tensorflow as c_api unknown
33 self.status = c_api.TF_NewStatus()
38 if c_api is not None and c_api.TF_DeleteStatus is not None:
39 c_api.TF_DeleteStatus(self.status)
46 self.graph = c_api.TF_NewGraph()
51 if c_api is not None and c_api.TF_DeleteGraph is not None:
52 c_api.TF_DeleteGraph(self.graph)
59 self.options = c_api.TF_NewImportGraphDefOptions()
64 if c_api is not None and c_api.TF_DeleteImportGraphDefOptions is not None:
65 c_api.TF_DeleteImportGraphDefOptions(self.options)
[all …]
Dkernels.py22 from tensorflow.python import pywrap_tensorflow 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.py23 from tensorflow.python import pywrap_tensorflow as c_api unknown
204 c_api.TF_ImportGraphDefOptionsSetPrefix(options, prefix)
205 c_api.TF_ImportGraphDefOptionsSetUniquifyNames(options, True)
212 c_api.TF_ImportGraphDefOptionsRemapControlDependency(
218 c_api.TF_ImportGraphDefOptionsAddInputMapping(options, src_name, src_idx,
224 c_api.TF_ImportGraphDefOptionsAddReturnOutput(options, op_name, index)
226 c_api.TF_ImportGraphDefOptionsAddReturnOperation(options,
311 return_outputs = c_api.TF_ImportGraphDefResultsReturnOutputs(results)
312 return_opers = c_api.TF_ImportGraphDefResultsReturnOperations(results)
426 results = c_api.TF_GraphImportGraphDefWithResults(
[all …]
Dops.py38 from tensorflow.python import pywrap_tensorflow as c_api unknown
212 return c_api.TFE_Py_UID()
427 shape_vector, unknown_shape = c_api.TF_GraphGetTensorShapeHelper(
540 c_api.TF_GraphSetTensorShape_wrapper(
560 consumer_names = c_api.TF_OperationOutputConsumers_wrapper(
976 EagerTensor = c_api.TFE_Py_InitEagerTensor(_EagerTensorBase)
1794 op_desc = c_api.TF_NewOperation(graph._c_graph,
1798 c_api.TF_SetDevice(op_desc, compat.as_str(node_def.device))
1802 c_api.TF_AddInputList(op_desc, [t._as_tf_output() for t in op_input])
1804 c_api.TF_AddInput(op_desc, op_input._as_tf_output())
[all …]
Dsmart_cond.py21 from tensorflow.python import pywrap_tensorflow as c_api unknown
83 pred_value = c_api.TF_TryEvaluateConstant_wrapper(pred.graph._c_graph,
Derrors_impl.py25 from tensorflow.python import pywrap_tensorflow as c_api unknown
501 c_api.PyExceptionRegistry_Init(_CODE_TO_EXCEPTION_CLASS)
544 if c_api.TF_GetCode(self.status.status) != 0:
547 compat.as_text(c_api.TF_Message(self.status.status)),
548 c_api.TF_GetCode(self.status.status))
Dfunction.py30 from tensorflow.python import pywrap_tensorflow as c_api unknown
296 c_api.TF_FunctionToFunctionDef(self._c_func.func, buf)
298 proto_data = c_api.TF_GetBuffer(buf)
410 c_func = c_api.TF_GraphToFunction_wrapper(
449 c_api.TF_FunctionSetAttrValueProto(self._c_func.func, compat.as_str(name),
789 handle_data = c_api.GetHandleShapeAndType(tensor.graph._c_graph,
793 c_api.SetHandleShapeAndType(ph.graph._c_graph, ph._as_tf_output(),
1063 c_func = c_api.TF_FunctionImportFunctionDef(serialized)
1267 c_api.TF_FunctionToFunctionDef(c_func, buf)
1268 data = c_api.TF_GetBuffer(buf)
/external/tensorflow/tensorflow/c/
DBUILD22 "c_api.h",
52 "c_api.h",
75 name = "c_api",
77 "c_api.h",
96 "c_api.cc",
99 hdrs = ["c_api.h"],
137 ":c_api",
139 "//tensorflow/c/eager:c_api",
155 "c_api.h",
206 ":c_api",
[all …]
Dversion_script.lds2 # Export symbols in c_api.h.
/external/tensorflow/tensorflow/lite/experimental/c/
DBUILD33 ":c_api",
42 srcs = ["c_api.h"],
55 name = "c_api",
56 srcs = ["c_api.cc"],
57 hdrs = ["c_api.h"],
77 ":c_api",
92 ":c_api",
105 ":c_api",
Dversion_script.lds2 # Export symbols in c_api.h.
/external/tensorflow/tensorflow/c/eager/
DBUILD22 name = "c_api",
24 "c_api.cc",
28 hdrs = ["c_api.h"],
36 "//tensorflow/c:c_api",
86 ":c_api",
87 "//tensorflow/c:c_api",
127 ":c_api",
149 ":c_api",
175 ":c_api",
177 "//tensorflow/c:c_api",
[all …]
/external/tensorflow/tensorflow/contrib/cmake/
Dtf_c.cmake20 "${tensorflow_source_dir}/tensorflow/c/c_api.cc"
21 "${tensorflow_source_dir}/tensorflow/c/c_api.h"
23 "${tensorflow_source_dir}/tensorflow/c/eager/c_api.cc"
24 "${tensorflow_source_dir}/tensorflow/c/eager/c_api.h"
/external/tensorflow/tensorflow/tools/ci_build/windows/
Dlibtensorflow_gpu.sh63 cp tensorflow/c/c_api.h ${DIR}/include/tensorflow/c
64 cp tensorflow/c/eager/c_api.h ${DIR}/include/tensorflow/c/eager
70 include/tensorflow/c/eager/c_api.h \
71 include/tensorflow/c/c_api.h \
Dlibtensorflow_cpu.sh63 cp tensorflow/c/c_api.h ${DIR}/include/tensorflow/c
64 cp tensorflow/c/eager/c_api.h ${DIR}/include/tensorflow/c/eager
70 include/tensorflow/c/eager/c_api.h \
71 include/tensorflow/c/c_api.h \
/external/tensorflow/tensorflow/python/training/
Dserver_lib.py23 from tensorflow.python import pywrap_tensorflow as c_api unknown
148 self._server = c_api.TF_NewServer(self._server_def.SerializeToString())
154 c_api.TF_ServerStop(self._server)
173 c_api.TF_ServerStart(self._server)
184 c_api.TF_ServerJoin(self._server)
213 return c_api.TF_ServerTarget(self._server)
/external/tensorflow/tensorflow/compiler/xla/python/
Dxla_client.py38 from tensorflow.compiler.xla.python import pywrap_xla as c_api unknown
125 self.client = c_api.LocalClient.Get(_maybe_encode_string(platform))
126 self._delete_buffer = c_api.DeleteLocalShapedBuffer
127 self._delete_executable = c_api.DeleteLocalExecutable
133 return c_api.LocalShapedBuffer.FromLiteral(pyval, None, self.client, device)
435 if c_api:
717 self._delete_computation = c_api.DeleteComputation
895 if c_api and self._c_executable:
915 self._client = c_api.ComputationBuilder(name.encode('utf8'))
1812 getattr(c_api.ComputationBuilder, method_name))
[all …]
/external/tensorflow/tensorflow/core/profiler/internal/
DBUILD71 "//tensorflow/c:c_api",
92 "//tensorflow/c:c_api",
112 "//tensorflow/c:c_api",
/external/tensorflow/tensorflow/core/profiler/
DBUILD15 "//tensorflow/c:c_api",
/external/tensorflow/tensorflow/lite/experimental/swift/
DBUILD.apple25 "//tensorflow/lite/experimental/c:c_api",
/external/tensorflow/tensorflow/core/distributed_runtime/eager/
DBUILD81 "//tensorflow/c:c_api",
/external/tensorflow/tensorflow/contrib/makefile/sub_makefiles/android/
DMakefile.in36 tensorflow/c/c_api.cc \
/external/tensorflow/tensorflow/core/framework/
Dtypes.proto70 // https://www.tensorflow.org/code/tensorflow/c/c_api.h,
/external/tensorflow/tensorflow/
DBUILD529 "//tensorflow/c:c_api",
533 "//tensorflow/c/eager:c_api",
561 "//tensorflow/c:c_api",
562 "//tensorflow/c/eager:c_api",
/external/tensorflow/tensorflow/tools/lib_package/
DREADME.md7 API](https://www.tensorflow.org/code/tensorflow/c/c_api.h)

12