Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for TF_CheckpointReaderGetVariable (0.3 sec)

  1. tensorflow/c/c_api_experimental.h

    TF_CAPI_EXPORT extern int TF_CheckpointReaderHasTensor(
        TF_CheckpointReader* reader, const char* name);
    // Get the variable name at the given index
    TF_CAPI_EXPORT extern const char* TF_CheckpointReaderGetVariable(
        TF_CheckpointReader* reader, int index);
    // Get the number of variable in the checkpoint
    TF_CAPI_EXPORT extern int TF_CheckpointReaderSize(TF_CheckpointReader* reader);
    // Get the DataType of a variable
    C
    - Registered: Tue Apr 23 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

    int TF_CheckpointReaderHasTensor(TF_CheckpointReader* reader,
                                     const char* name) {
      return reader->HasTensor(name);
    }
    
    const char* TF_CheckpointReaderGetVariable(TF_CheckpointReader* reader,
                                               int index) {
      return reader->variable_list[index].c_str();
    }
    
    int TF_CheckpointReaderSize(TF_CheckpointReader* reader) {
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 29.4K bytes
    - Viewed (0)
Back to top