Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for someFunction (0.15 sec)

  1. src/cmd/cover/testdata/test.go

    		break loop
    	}
    }
    
    // This comment didn't appear in generated go code.
    func haha() {
    	// Needed for cover to add counter increment here.
    	_ = 42
    }
    
    // Some someFunction.
    //
    //go:nosplit
    func someFunction() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 4.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/tf_executor_ops_printer.mlir

          %2:2 = "tf.IdentityN"(%1#0, %1#1) : (tensor<i32>, tensor<f32>) -> (tensor<i32>, tensor<f32>) loc("identity@some_function")
          tf_executor.yield %2#0, %2#1 : tensor<i32>, tensor<f32> loc("identity@some_function")
        } loc("identity@some_function")
        tf_executor.fetch
      }
      func.return
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 28 12:06:33 UTC 2022
    - 2.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/tests/tf_executor_ops_location_roundtrip.mlir

    // CHECK-NEXT:      "tf_executor.island"() ({
    // CHECK-NEXT:        "tf.Identity"(%{{.*}}) : (tensor<f32>) -> tensor<f32> loc("identity@some_function")
    // CHECK-NEXT:        "tf_executor.yield"(%{{.*}}) : (tensor<f32>) -> () loc("identity@some_function")
    // CHECK-NEXT:      }) : () -> (tensor<f32>, !tf_executor.control) loc("identity@some_function")
    // CHECK-NEXT:      "tf_executor.fetch"(%{{.*}}) : (tensor<f32>) -> () loc(unknown)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 05 14:24:12 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model/exported_python_args.py

    import tensorflow.compat.v2 as tf
    from tensorflow.compiler.mlir.tensorflow.tests.tf_saved_model import common
    
    
    class TestModule(tf.Module):
    
      @tf.function(input_signature=[tf.TensorSpec([], tf.float32)])
      def some_function(self, x):
        return self.callee(x)
    
      # CHECK: While importing SavedModel function 'callee': in input signature:
      # CHECK-SAME: Unhandled structured value kind {{.*}} at index path: <value>.1.foo
      @tf.function
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Sep 28 21:37:05 UTC 2021
    - 1.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model/shapes_for_arguments.py

      #
      # CHECK:      func {{@[a-zA-Z_0-9]+}}(%arg0: tensor<f32> {{.*}}) -> (tensor<f32> {{.*}})
      # 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
    
    
    if __name__ == '__main__':
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Sep 28 21:37:05 UTC 2021
    - 1.7K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model/duplicate_method_names_v1.py

      signature_def = tf.saved_model.signature_def_utils.build_signature_def(
          inputs=None, outputs={'s': tensor_info_s}, method_name='some_function')
      signature_def2 = tf.saved_model.signature_def_utils.build_signature_def(
          inputs=None, outputs={'t': tensor_info_t}, method_name='some_function')
    
      # Create two signatures that share the same variable.
      return {'key': signature_def, 'key2': signature_def2}, None, None
    
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Sep 28 21:37:05 UTC 2021
    - 2K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top