Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 27 for someFunction (0.29 sec)

  1. tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model/basic.py

      # CHECK-SAME:   tensor<f32> {tf_saved_model.index_path = []})
      # CHECK-SAME: attributes {{.*}} tf_saved_model.exported_names = ["some_function"]
      @tf.function(input_signature=[tf.TensorSpec([], tf.float32)])
      def some_function(self, x):
        return x + self.v42 + self.c43
    
    
    if __name__ == '__main__':
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 08:49:35 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model/debug_info.py

    
    class TestModule(tf.Module):
    
      @tf.function(input_signature=[
          tf.TensorSpec([], tf.float32),
          tf.TensorSpec([], tf.float32)
      ])
      def some_function(self, x, y):
        return x + y
        # Basic check that the debug info file is being correctly saved and loaded.
        #
        # CHECK: "tf.AddV2"{{.*}}loc(#loc{{[0-9]+}})
        # CHECK: "tf.Identity"{{.*}}loc(#loc{{[0-9]+}})
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Dec 03 00:08:31 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model/basic_v1_no_variable_lifting.py

      return {
          'key': (tf.compat.v1.saved_model.signature_def_utils.build_signature_def(
              inputs={'x': tensor_info_x},
              outputs={'r': tensor_info_r},
              method_name='some_function'))
      }, None, None
    
    
    if __name__ == '__main__':
      common_v1.set_tf_options()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Sep 28 21:37:05 UTC 2021
    - 1.9K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model/control_flow_duplicate_v1.py

      signature_def = tf.saved_model.signature_def_utils.build_signature_def(
          inputs=None,
          outputs={'result': tensor_info_result},
          method_name='some_function')
    
      return {'key_1': signature_def, 'key_2': signature_def}, None, None
    
    
    if __name__ == '__main__':
      common_v1.set_tf_options()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Sep 28 21:37:05 UTC 2021
    - 2K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model/control_flow_upgrade_legacy_v1.py

      signature_def = tf.saved_model.signature_def_utils.build_signature_def(
          inputs=None,
          outputs={'result': tensor_info_result},
          method_name='some_function')
    
      return {'key': signature_def}, None, None
    
    
    if __name__ == '__main__':
      common_v1.set_tf_options()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Nov 17 02:29:35 UTC 2022
    - 2K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model/multi_variables_v1.py

      return {
          'key': (tf.compat.v1.saved_model.signature_def_utils.build_signature_def(
              inputs=None,
              outputs={'z': tensor_info_z},
              method_name='some_function'))
      }, None, None
    
    
    if __name__ == '__main__':
      common_v1.set_tf_options()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 08:49:35 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model/no_input_shape_v1.py

      return {
          'key': (tf.compat.v1.saved_model.signature_def_utils.build_signature_def(
              inputs={'x': tensor_info_x},
              outputs={'r': tensor_info_r},
              method_name='some_function'))
      }, None, None
    
    
    if __name__ == '__main__':
      common_v1.set_tf_options()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Sep 28 21:37:05 UTC 2021
    - 2.2K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model/shared_variable_v1.py

      signature_def = tf.saved_model.signature_def_utils.build_signature_def(
          inputs={'x': tensor_info_x},
          outputs={'r': tensor_info_r},
          method_name='some_function')
      signature_def2 = tf.saved_model.signature_def_utils.build_signature_def(
          inputs={'x': tensor_info_x},
          outputs={'r': tensor_info_r},
          method_name='some_other_function')
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 08:49:35 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model/basic_v1.py

      return {
          'key': (tf.compat.v1.saved_model.signature_def_utils.build_signature_def(
              inputs={'x': tensor_info_x},
              outputs={'r': tensor_info_r},
              method_name='some_function'))
      }, None, None
    
    
    if __name__ == '__main__':
      common_v1.set_tf_options()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 08:49:35 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model/import_restore_v1.py

      return {
          'key': (tf.compat.v1.saved_model.signature_def_utils.build_signature_def(
              inputs={'x': tensor_info_x},
              outputs={'r': tensor_info_r},
              method_name='some_function'))
      }, None, None
    
    
    if __name__ == '__main__':
      common_v1.set_tf_options()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 08:49:35 UTC 2023
    - 2.8K bytes
    - Viewed (1)
Back to top