- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for TensorShapeAsVector (0.12 seconds)
-
tensorflow/c/eager/c_api_debug.cc
#include "tensorflow/c/tf_status_internal.h" #include "tensorflow/core/common_runtime/eager/tensor_handle.h" #include "tensorflow/core/platform/status.h" using tensorflow::string; namespace { std::vector<int64_t> TensorShapeAsVector(const tensorflow::TensorHandle& handle, absl::Status* status) { std::vector<int64_t> shape; int rank = -1; *status = handle.NumDims(&rank); if (!status->ok()) {Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Sat Oct 12 05:11:17 GMT 2024 - 2.5K bytes - Click Count (0)