Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TF_CheckpointReaderGetVariableDataType (0.16 sec)

  1. tensorflow/c/c_api_experimental.cc

      return reader->variable_list[index].c_str();
    }
    
    int TF_CheckpointReaderSize(TF_CheckpointReader* reader) {
      return reader->variable_list.size();
    }
    
    TF_DataType TF_CheckpointReaderGetVariableDataType(TF_CheckpointReader* reader,
                                                       const char* name) {
      const auto& m = reader->GetVariableToDataTypeMap();
      return static_cast<TF_DataType>(m.at(name));
    }
    
    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