class_docstr: User-facing API for accessing the NASBench dataset.
docstr: Returns the metrics for all epochs and all repeats of a model.
  
  This method is for dataset analysis and should not be used for benchmarking.
  As such, it does not increment any of the budget counters.
  
  Args:
    model_spec: ModelSpec object.
  
  Returns:
    fixed stats and computed stats of the model spec provided.
docstr_tok: ["Returns","the","metrics","for","all","epochs","and","all","repeats","of","a","model",".","This","method","is","for","dataset","analysis","and","should","not","be","used","for","benchmarking",".","As","such",",","it","does","not","increment","any","of","the","budget","counters",".","Args",":","model_spec",":","ModelSpec","object",".","Returns",":","fixed","stats","and","computed","stats","of","the","model","spec","provided","."]
code: def get_metrics_from_spec(self, model_spec):
      """Returns the metrics for all epochs and all repeats of a model.
  
      This method is for dataset analysis and should not be used for benchmarking.
      As such, it does not increment any of the budget counters.
  
      Args:
        model_spec: ModelSpec object.
  
      Returns:
        fixed stats and computed stats of the model spec provided.
      """
      self._check_spec(model_spec)
      module_hash = self._hash_spec(model_spec)
      return self.get_metrics_from_hash(module_hash)
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import copy
  import random
  import time
  import shelve
  import hashlib
  import _pickle
  import numpy
label_desc: Use image node_id 8 for calling the NASBench obj's underlying member method code with example usage: obj.get_metrics_from_spec(model_spec) and returns: self