- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for Const_2 (0.18 sec)
-
src/cmd/compile/internal/ssa/_gen/generic.rules
(Mul32 (Const32 [c]) (Const32 [d])) => (Const32 [c*d]) (Mul64 (Const64 [c]) (Const64 [d])) => (Const64 [c*d]) (Mul32F (Const32F [c]) (Const32F [d])) && c*d == c*d => (Const32F [c*d]) (Mul64F (Const64F [c]) (Const64F [d])) && c*d == c*d => (Const64F [c*d]) (And8 (Const8 [c]) (Const8 [d])) => (Const8 [c&d]) (And16 (Const16 [c]) (Const16 [d])) => (Const16 [c&d]) (And32 (Const32 [c]) (Const32 [d])) => (Const32 [c&d])
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 22:21:05 UTC 2024 - 135.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/tests/uniform-quantized-stablehlo-to-tfl.mlir
// CHECK-SAME: (%[[ARG_0:.+]]: tensor<1x5x5x2x!quant.uniform<i8:f32, 2.000000e+00>>) -> tensor<1x14x14x4x!quant.uniform<i8:f32, 8.000000e+00:-128>> // CHECK-DAG: %[[CONST_0:.+]] = arith.constant dense<[1, 14, 14, 4]> : tensor<4xi32> // CHECK-DAG: %[[CONST_1:.*]] = "tfl.pseudo_const"() <{value = dense<{{\[\[0, 0\], \[1, 1\], \[1, 1\], \[0, 0\]\]}}> : tensor<4x2xi32>}> : () -> tensor<4x2xi32>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 14 17:10:32 UTC 2024 - 106.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/legalize-tf.mlir
%0 = "tf.Relu"(%arg0) : (tensor<1xi32>) -> tensor<1xi32> func.return %0: tensor<1xi32> // CHECK-LABEL: testReluI32 // CHECK: %[[CONST_0:.*]] = arith.constant dense<0> : tensor<i32> // CHECK: %[[RES0:.*]] = "tfl.maximum"(%arg0, %[[CONST_0]]) : (tensor<1xi32>, tensor<i32>) -> tensor<1xi32> // CHECK: return %[[RES0]] : tensor<1xi32> } func.func @testReluI64(%arg0: 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) -
tensorflow/compiler/mlir/lite/ir/tfl_ops.cc
// considered dynamic so use -1 here if k is not a constant value. int const_k = -1; ElementsAttr cst; if (matchPattern(k, m_Constant(&cst))) // These casts should all be valid due to how Tensor constants are stored. // TODO(jpienaar): This should use a helper function. const_k = cst.getValues<IntegerAttr>()[0].getValue().getSExtValue();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 09:41:17 UTC 2024 - 169.2K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/rewriteWasm.go
for { c := auxIntToInt16(v.AuxInt) v.reset(OpWasmI64Const) v.AuxInt = int64ToAuxInt(int64(c)) return true } } func rewriteValueWasm_OpConst32(v *Value) bool { // match: (Const32 [c]) // result: (I64Const [int64(c)]) for { c := auxIntToInt32(v.AuxInt) v.reset(OpWasmI64Const) v.AuxInt = int64ToAuxInt(int64(c)) return true } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 17 03:56:57 UTC 2023 - 108.6K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/rewriteMIPS.go
for { val := auxIntToInt16(v.AuxInt) v.reset(OpMIPSMOVWconst) v.AuxInt = int32ToAuxInt(int32(val)) return true } } func rewriteValueMIPS_OpConst32(v *Value) bool { // match: (Const32 [val]) // result: (MOVWconst [int32(val)]) for { val := auxIntToInt32(v.AuxInt) v.reset(OpMIPSMOVWconst) v.AuxInt = int32ToAuxInt(int32(val)) return true } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 24 14:43:03 UTC 2023 - 176.6K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/rewriteLOONG64.go
for { val := auxIntToInt16(v.AuxInt) v.reset(OpLOONG64MOVVconst) v.AuxInt = int64ToAuxInt(int64(val)) return true } } func rewriteValueLOONG64_OpConst32(v *Value) bool { // match: (Const32 [val]) // result: (MOVVconst [int64(val)]) for { val := auxIntToInt32(v.AuxInt) v.reset(OpLOONG64MOVVconst) v.AuxInt = int64ToAuxInt(int64(val)) return true } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 21 19:26:25 UTC 2023 - 195.8K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/rewriteMIPS64.go
for { val := auxIntToInt16(v.AuxInt) v.reset(OpMIPS64MOVVconst) v.AuxInt = int64ToAuxInt(int64(val)) return true } } func rewriteValueMIPS64_OpConst32(v *Value) bool { // match: (Const32 [val]) // result: (MOVVconst [int64(val)]) for { val := auxIntToInt32(v.AuxInt) v.reset(OpMIPS64MOVVconst) v.AuxInt = int64ToAuxInt(int64(val)) return true } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jul 31 03:59:48 UTC 2023 - 211.6K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/rewriteRISCV64.go
for { val := auxIntToInt16(v.AuxInt) v.reset(OpRISCV64MOVDconst) v.AuxInt = int64ToAuxInt(int64(val)) return true } } func rewriteValueRISCV64_OpConst32(v *Value) bool { // match: (Const32 [val]) // result: (MOVDconst [int64(val)]) for { val := auxIntToInt32(v.AuxInt) v.reset(OpRISCV64MOVDconst) v.AuxInt = int64ToAuxInt(int64(val)) return true } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 07 14:57:07 UTC 2024 - 205.1K bytes - Viewed (0)