Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for identityfunc (0.17 sec)

  1. staging/src/k8s.io/apimachinery/pkg/runtime/mapper_test.go

    	testcases := []struct {
    		Name                           string
    		IdentityFunc                   func(schema.GroupResource) string
    		ResourcesForV1Deployment       []schema.GroupVersionResource
    		ResourcesForV1DeploymentScale  []schema.GroupVersionResource
    		ResourcesForV1DeploymentStatus []schema.GroupVersionResource
    	}{
    		{
    			Name:                           "no identityfunc",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:48:03 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/prepare_tpu_computation_for_tf_export.mlir

      func.return %0, %1 : tensor<f32>, tensor<f32>
    }
    
    
    // Next four functions are used to verify handling of a call chain.
    
    // CHECK-LABEL: func @IdentityFunc
    func.func @IdentityFunc(%arg0: tensor<i32>) -> tensor<i32> {
      // CHECK-NOT: _xla_token_input_nodes
      %1 = "tf.Identity"(%arg0) : (tensor<i32>) -> tensor<i32>
      func.return %1 : tensor<i32>
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 14 18:46:36 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/compilability_check_util_test.cc

      FunctionDefLibrary library;
    
      FunctionDef identity_func = FunctionDefHelper::Create(
          "IdentityFunc",
          /*in_def=*/{"x:float"},
          /*out_def=*/{"res:float"},
          /*attr_def=*/{},
          /*node_def=*/{{{"t0"}, "Identity", {"x"}, {{"T", DT_FLOAT}}}},
          /*ret_def*/ {{"res", "t0:output"}});
    
      *library.add_function() = identity_func;
    
      Output in = ops::Placeholder(root, DT_FLOAT);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jun 10 12:32:39 UTC 2022
    - 22.3K bytes
    - Viewed (0)
  4. tensorflow/cc/experimental/libtf/tests/function_test.cc

            /*arg=*/{"x", "y"},
            /*attr=*/{{"T", DT_FLOAT}},
            /*dep=*/{},
            /*device=*/"",
            /*name=*/"add"}});
    }
    
    FunctionDef IdentityNFunc() {
      return FunctionDefHelper::Define(
          // Function Name
          "IdentityNFunc",
          // Args
          {"x: float", "y: float"},
          // Returns
          {"u: float", "v: float"},
          // Attr def
          {},
          // Nodes
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 19 21:44:52 UTC 2023
    - 11.1K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tf2xla/tests/legalize-tf.mlir

    // -----
    
    func.func @identity_func(%arg0: tensor<10x2xf32>) -> tensor<10x2xf32> {
      func.return %arg0: tensor<10x2xf32>
    }
    
    // CHECK-LABEL: testSimpleLegacyCallOp
    func.func @testSimpleLegacyCallOp(%arg0: tensor<10x2xf32>) -> tensor<10x2xf32> {
      // CHECK: %[[RESULT:.*]] = call @identity_func(%arg0) : (tensor<10x2xf32>) -> tensor<10x2xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 06 18:46:23 UTC 2024
    - 335.5K bytes
    - Viewed (0)
Back to top