Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for argN (0.05 sec)

  1. tensorflow/compiler/mlir/lite/tests/ops.mlir

      %0 = tfl.sub %arg0, %arg1 {fused_activation_function = "RELU6"} : tensor<? x i32>
      func.return %0#0 : tensor<? x i32>
    }
    
    // CHECK-LABEL: testSubInt64
    func.func @testSubInt64(tensor<? x i64>, tensor<? x i64>) -> tensor<? x i64> {
    ^bb0(%arg0: tensor<? x i64>, %arg1: tensor<? x i64>):
      // CHECK: tfl.sub %arg0, %arg1 {fused_activation_function = "RELU6"}
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 19:09:08 UTC 2024
    - 189.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/tests/legalize-tf.mlir

    func.func @add(%arg0: tensor<1xf32>, %arg1: tensor<1xf32>) -> tensor<1xf32> {
      %0 = "tf.Add"(%arg0, %arg1) : (tensor<1xf32>, tensor<1xf32>) -> tensor<1xf32>
      func.return %0: tensor<1xf32>
    
    // CHECK-LABEL: add
    // CHECK:  tfl.add %arg0, %arg1 {fused_activation_function = "NONE"} : tensor<1xf32>
    // CHECK:  return
    }
    
    func.func @sub(%arg0: tensor<1xi64>, %arg1: tensor<1xi64>) -> tensor<1xi64> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 05 01:54:33 UTC 2024
    - 153.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/tf_passes.td

          ```mlir
            func.func @remove_first_result(%arg0, %arg1) {
              %0:2 = "tf.WhileRegion"(%arg0, %arg1) ({
              ^bb0(%arg2, %arg3):
                %1 = "tf.OpA"() {is_stateless = true}
                "tf.Yield"(%1)
              }, {
              ^bb0(%arg2, %arg3):
                %1 = "tf.OpB"(%arg2) {is_stateless = true}
                %2 = "tf.OpC"(%arg3) {is_stateless = true}
                "tf.Yield"(%1, %2)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:18:05 UTC 2024
    - 99.6K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/func.go

    	v := b.Func.newValue(op, t, b, pos)
    	v.AuxInt = 0
    	v.Aux = aux
    	v.Args = v.argstorage[:3]
    	v.argstorage[0] = arg0
    	v.argstorage[1] = arg1
    	v.argstorage[2] = arg2
    	arg0.Uses++
    	arg1.Uses++
    	arg2.Uses++
    	return v
    }
    
    // NewValue4 returns a new value in the block with four arguments and zero aux values.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/experimental/tac/execution_metadata_exporter_test.cc

    TEST(ExporterTest, Valid) {
      const std::string kMLIR = R"(
    func.func @main(%arg0: tensor<1xf32>, %arg1: tensor<1xf32>, %arg2: tensor<1xf32>, %arg3: tensor<1xf32>) -> tensor<2x1xf32> {
      %0 = "tfl.add"(%arg0, %arg1) {fused_activation_function = "RELU6",  per_device_costs = {CPU = 5.0 : f32, GPU = 1.0 : f32}, tac.device = "GPU"} : (tensor<1xf32>, tensor<1xf32>) -> tensor<1xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 06:11:34 UTC 2024
    - 6K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/tests/decompose_optionals.mlir

    }
    
    func.func private @identity(%arg0: tensor<!tf_type.variant<tensor<f32>>>) -> tensor<!tf_type.variant<tensor<f32>>> {
      return %arg0 : tensor<!tf_type.variant<tensor<f32>>>
    }
    
    // -----
    
    // CHECK-LABEL: @leaves_remote_calls_alone
    func.func @leaves_remote_calls_alone(%arg0: tensor<!tf_type.string>, %arg1: tensor<!tf_type.string>, %arg2: tensor<i64>) {
      // CHECK: RemoteCall
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:18:05 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/transforms/legalize_patterns.td

    def LegalizePadV2 : Pat<(TF_PadV2Op $arg0, $arg1, $cst),
                            (TFL_PadV2Op $arg0, $arg1, $cst)>;
    
    def LegalizeMean : Pat<(TF_MeanOp $arg0, $arg1, BoolAttr:$arg2),
                           (TFL_MeanOp $arg0, $arg1, $arg2)>;
    
    def LegalizeSum : Pat<(TF_SumOp $arg, $axes, BoolAttr:$arg2),
                          (TFL_SumOp $arg, (CreateTFCastToInt32Op $axes), $arg2)>;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 04 13:30:42 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/stablehlo/tests/composite-lowering.mlir

      %2 = "mhlo.pad"(%arg0, %1) {edge_padding_high = dense<[0, 0, 1, 1]> : tensor<4xi64>, edge_padding_low = dense<[0, 0, 1, 1]> : tensor<4xi64>, interior_padding = dense<0> : tensor<4xi64>} : (tensor<1x3x6x6xf32>, tensor<f32>) -> tensor<1x3x8x8xf32>
      %3 = "mhlo.reduce_window"(%2, %1) ({
      ^bb0(%arg1: tensor<f32>, %arg2: tensor<f32>):
        %7 = mhlo.add %arg1, %arg2 : tensor<f32>
        mhlo.return %7 : tensor<f32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 18:45:51 UTC 2024
    - 32.6K bytes
    - Viewed (0)
  9. callbacks/preload.go

    //		clause.Associations: {"arg1"},
    //		"k1":                {"arg2"},
    //		"k2.k3":             {"arg3"},
    //		"k4.k5.k6":          {"arg4"},
    //	})
    //	// preloadMap is
    //	map[string]map[string][]interface{}{
    //		"k0": {},
    //		"k7": {
    //			"k8": {},
    //		},
    //		"k1": {},
    //		"k2": {
    //			"k3": {"arg3"},
    //		},
    //		"k4": {
    //			"k5.k6": {"arg4"},
    //		},
    //	}
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 10:52:33 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tf2xla/api/v2/legalize_tf_test.cc

        func.func @main() -> (tensor<5x11xf32>) {
          %arg0 = "tf.Const"() {value = dense<-3.0> : tensor<5x7xf32>} : () -> tensor<5x7xf32>
          %arg1 = "tf.Const"() {value = dense<-3.0> : tensor<11x7xf32>} : () -> tensor<11x7xf32>
    
          %1 = "tf.MatMul"(%arg0, %arg1) {transpose_a = false, transpose_b = true} : (tensor<5x7xf32>, tensor<11x7xf32>) -> tensor<5x11xf32>
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 13 23:59:33 UTC 2024
    - 16.1K bytes
    - Viewed (0)
Back to top