Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for TF_CheckpointReaderGetVariableShape (0.14 sec)

  1. tensorflow/c/c_api_experimental.h

    TF_CAPI_EXPORT extern TF_DataType TF_CheckpointReaderGetVariableDataType(
        TF_CheckpointReader* reader, const char* name);
    // Read the shape of a variable and write to `dims`
    TF_CAPI_EXPORT extern void TF_CheckpointReaderGetVariableShape(
        TF_CheckpointReader* reader, const char* name, int64_t* dims, int num_dims,
        TF_Status* status);
    // Get the number of dimension of a variable
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Apr 27 21:07:00 UTC 2023
    - 15.1K bytes
    - Viewed (0)
  2. tensorflow/c/c_api_experimental.cc

      reader->GetTensor(name, &tensor, status);
      if (!status->status.ok()) return nullptr;
      return tensorflow::TF_TensorFromTensor(*tensor, &status->status);
    }
    
    void TF_CheckpointReaderGetVariableShape(TF_CheckpointReader* reader,
                                             const char* name, int64_t* dims,
                                             int num_dims, TF_Status* status) {
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 29.5K bytes
    - Viewed (0)
Back to top