Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TF_CheckpointReaderGetVariableNumDims (0.15 sec)

  1. tensorflow/c/c_api_experimental.cc

                                         " but actual rank is ", rank);
        return;
      }
      for (int i = 0; i < num_dims; i++) {
        dims[i] = shape.dim_size(i);
      }
    }
    
    int TF_CheckpointReaderGetVariableNumDims(TF_CheckpointReader* reader,
                                              const char* name) {
      const auto& m = reader->GetVariableToShapeMap();
      return m.at(name).dims();
    }
    
    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