Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for TF_CheckpointReaderGetVariableShape (3.23 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
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 27 21:07:00 GMT 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) {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 29.4K bytes
    - Viewed (0)
Back to top