Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for create_feed_dict_from_input_data (0.56 sec)

  1. tensorflow/compiler/mlir/quantization/tensorflow/python/representative_dataset.py

          # Handle this as if the size is unknown.
          logging.info('Cannot determine the size of the dataset (%s).', ex)
          return None
      else:
        return None
    
    
    def create_feed_dict_from_input_data(
        input_data: RepresentativeSample,
        signature_def: meta_graph_pb2.SignatureDef,
    ) -> Mapping[str, np.ndarray]:
      """Constructs a feed_dict from input data.
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 22 22:55:22 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/python/py_function_lib.py

      ):
        # Create a mapping from input tensor name to the input tensor value.
        # ex) "Placeholder:0" -> [0, 1, 2]
        feed_dict = rd.create_feed_dict_from_input_data(sample, signature_def)
        sess.run(output_tensor_names, feed_dict=feed_dict)
    
    
    def _run_graph_for_calibration_graph_mode(
        model_dir: str,
        tags: Collection[str],
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 05:32:11 UTC 2024
    - 27.4K bytes
    - Viewed (0)
Back to top