- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for NEG (0.15 sec)
-
src/cmd/compile/internal/ssa/rewritePPC64.go
v.AuxInt = int64ToAuxInt(-c) v.AddArg(x) return true } // match: (NEG (SUB x y)) // result: (SUB y x) for { if v_0.Op != OpPPC64SUB { break } y := v_0.Args[1] x := v_0.Args[0] v.reset(OpPPC64SUB) v.AddArg2(y, x) return true } // match: (NEG (NEG x)) // result: x for { if v_0.Op != OpPPC64NEG { break }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 19:02:52 UTC 2024 - 360.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/tests/legalize_hlo.mlir
func.return %0 : tensor<?xf32> } // CHECK-LABEL: func @neg( // CHECK-SAME: %[[VAL_0:.*]]: tensor<2xf32>) -> tensor<2xf32> { // CHECK: %[[VAL_1:.*]] = "tf.Neg"(%[[VAL_0]]) : (tensor<2xf32>) -> tensor<2xf32> // CHECK: return %[[VAL_1]] : tensor<2xf32> // CHECK: } func.func @neg(%arg0: tensor<2xf32>) -> tensor<2xf32> {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 29 07:26:59 UTC 2024 - 340.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/tests/legalize-tf.mlir
%0 = "tf.Log1p"(%arg0) : (tensor<?xf32>) -> tensor<?xf32> func.return %0 : tensor<?xf32> } // ----- // CHECK-LABEL: @neg func.func @neg(%arg0: tensor<2xf32>) -> tensor<2xf32> { // CHECK: mhlo.negate %arg0 : tensor<2xf32> %0 = "tf.Neg"(%arg0) : (tensor<2xf32>) -> tensor<2xf32> func.return %0 : tensor<2xf32> } // ----- // CHECK-LABEL: func @neg_dynamic
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon May 06 18:46:23 UTC 2024 - 335.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/optimize.mlir
func.func @prelu_fusion(%arg0: tensor<2x3xf32>) -> tensor<2x3xf32> { %alpha = arith.constant dense<-0.2> : tensor<3xf32> %0 = "tfl.relu"(%arg0) : (tensor<2x3xf32>) -> tensor<2x3xf32> %1 = "tfl.neg"(%arg0) : (tensor<2x3xf32>) -> tensor<2x3xf32> %2 = "tfl.relu"(%1) : (tensor<2x3xf32>) -> tensor<2x3xf32> %3 = "tfl.mul"(%alpha, %2) {fused_activation_function = "NONE"} : (tensor<3xf32>, tensor<2x3xf32>) -> tensor<2x3xf32>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 16 20:31:41 UTC 2024 - 284.1K bytes - Viewed (0)