- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for TF_DeleteShape (0.21 sec)
-
tensorflow/c/tf_shape.h
// we may expose the ABI of TF_Shape for performance reasons. typedef struct TF_Shape TF_Shape; // Return a new, unknown rank shape object. The caller is responsible for // calling TF_DeleteShape to deallocate and destroy the returned shape. TF_CAPI_EXPORT extern TF_Shape* TF_NewShape(); // Returns the rank of `shape`. If `shape` has unknown rank, returns -1.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Sep 30 00:25:41 UTC 2020 - 1.7K bytes - Viewed (0) -
tensorflow/c/tf_shape.cc
int TF_ShapeDims(const TF_Shape* shape) { return tensorflow::unwrap(shape)->dims(); } int64_t TF_ShapeDimSize(const TF_Shape* shape, int d) { return tensorflow::unwrap(shape)->dim_size(d); } void TF_DeleteShape(TF_Shape* shape) { delete tensorflow::unwrap(shape); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Sep 30 00:25:41 UTC 2020 - 1.2K bytes - Viewed (0) -
tensorflow/c/experimental/saved_model/public/tensor_spec.h
TF_CAPI_EXPORT extern TF_DataType TF_TensorSpecDataType( const TF_TensorSpec* spec); // Returns the shape associated with the TensorSpec. The returned Shape is not // owned by the caller. Caller must not call TF_DeleteShape on the returned // shape. TF_CAPI_EXPORT extern const TF_Shape* TF_TensorSpecShape( const TF_TensorSpec* spec); #ifdef __cplusplus } // end extern "C" #endif // __cplusplus
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Sep 30 17:58:21 UTC 2020 - 1.6K bytes - Viewed (0)