Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for TF_DeleteCheckpointReader (0.18 sec)

  1. tensorflow/c/c_api_experimental.cc

      if (!status->status.ok()) {
        TF_DeleteCheckpointReader(reader);
        return nullptr;
      }
      const auto& m = reader->GetVariableToDataTypeMap();
      for (auto it = m.begin(); it != m.end(); ++it)
        reader->variable_list.push_back(it->first);
      std::sort(reader->variable_list.begin(), reader->variable_list.end());
      return reader;
    }
    
    void TF_DeleteCheckpointReader(TF_CheckpointReader* reader) { delete reader; }
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 29.5K bytes
    - Viewed (0)
  2. tensorflow/c/c_api_experimental.h

    typedef struct TF_CheckpointReader TF_CheckpointReader;
    TF_CAPI_EXPORT extern TF_CheckpointReader* TF_NewCheckpointReader(
        const char* filename, TF_Status* status);
    TF_CAPI_EXPORT extern void TF_DeleteCheckpointReader(
        TF_CheckpointReader* reader);
    TF_CAPI_EXPORT extern int TF_CheckpointReaderHasTensor(
        TF_CheckpointReader* reader, const char* name);
    // Get the variable name at the given index
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Apr 27 21:07:00 UTC 2023
    - 15.1K bytes
    - Viewed (0)
Back to top