f97074b0c0d3a71488f63a01aecf73a703fa571e,official/vision/beta/serving/export_base.py,ExportModule,inference_from_image_tensors,#ExportModule#,64

Before Change



  @tf.function
  def inference_from_image_tensors(self, input_tensor):
    return dict(outputs=self._run_inference_on_image_tensors(input_tensor))

  @tf.function
  def inference_from_image_bytes(self, input_tensor):
    with tf.device("cpu:0"):

After Change



  @tf.function
  def inference_from_image_tensors(self, input_tensor):
    return self._run_inference_on_image_tensors(input_tensor)

  @tf.function
  def inference_from_image_bytes(self, input_tensor):
    with tf.device("cpu:0"):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: tensorflow/models
Commit Name: f97074b0c0d3a71488f63a01aecf73a703fa571e
Time: 2020-10-06
Author: arashwan@google.com
File Name: official/vision/beta/serving/export_base.py
Class Name: ExportModule
Method Name: inference_from_image_tensors


Project Name: tensorflow/models
Commit Name: f97074b0c0d3a71488f63a01aecf73a703fa571e
Time: 2020-10-06
Author: arashwan@google.com
File Name: official/vision/beta/serving/export_base.py
Class Name: ExportModule
Method Name: inference_from_image_bytes


Project Name: tensorflow/models
Commit Name: f97074b0c0d3a71488f63a01aecf73a703fa571e
Time: 2020-10-06
Author: arashwan@google.com
File Name: official/vision/beta/serving/export_base.py
Class Name: ExportModule
Method Name: inference_from_tf_example