- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for DT_RESOURCE (0.32 sec)
-
tensorflow/c/experimental/next_pluggable_device/c_api.cc
const tensorflow::Tensor& arg_tensor = cc_ctx->input(index); absl::Status cc_status; if (arg_tensor.dtype() != tensorflow::DT_RESOURCE) { cc_status = absl::InvalidArgumentError( absl::StrCat("Trying to obtain resource handle from Input[", index, "], which is not type DT_RESOURCE.")); status->status = cc_status; return nullptr; } const tensorflow::ResourceHandle& handle =
C++ - Registered: Tue Feb 27 12:39:08 GMT 2024 - Last Modified: Tue Jan 09 00:52:04 GMT 2024 - 13.9K bytes - Viewed (1) -
tensorflow/c/eager/c_api_distributed_test.cc
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Feb 15 09:49:45 GMT 2024 - 23.5K bytes - Viewed (0) -
tensorflow/c/c_api.cc
for (int i = 0; i < noutputs; ++i) { c_outputs[i] = nullptr; } } // TF_TensorToTensorV1 decodes a string serialization to DT_RESOURCE. // In the TFv1 convention, TF_Tensor can hold a string serialization of // DT_RESOURCE. The string serialization is converted back to a // ResourceHandle during Session run where the TF_Tensor is converted to a // Tensor.
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Apr 15 03:35:10 GMT 2024 - 102.3K bytes - Viewed (0) -
tensorflow/c/eager/tape.h
inline bool IsDtypeTrainable(DataType dtype) { switch (dtype) { case DT_HALF: case DT_BFLOAT16: case DT_FLOAT: case DT_DOUBLE: case DT_COMPLEX64: case DT_COMPLEX128: case DT_RESOURCE: case DT_VARIANT: return true; case DT_QINT8: case DT_QINT16: case DT_QINT32: case DT_QUINT8: case DT_QUINT16: return tensorflow::flags::Global()
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Apr 02 12:40:29 GMT 2024 - 47.2K bytes - Viewed (1)