- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for bitMask (0.19 sec)
-
pkg/kubelet/cm/memorymanager/policy_static_test.go
} s := state.NewMemoryState() s.SetMachineState(testCase.machineState) s.SetMemoryAssignments(testCase.assignments) return p, s, nil } func newNUMAAffinity(bits ...int) bitmask.BitMask { affinity, err := bitmask.NewBitMask(bits...) if err != nil { panic(err) } return affinity } func TestStaticPolicyNew(t *testing.T) { testCases := []testStaticPolicy{ {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Sep 17 05:49:15 UTC 2023 - 100.4K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/_gen/ARM64.rules
=> (EXTRWconst [32-c] x2 x) (XORshiftLL <t> [c] (UBFX [bfc] x) x2) && c < 32 && t.Size() == 4 && bfc == armBFAuxInt(32-c, c) => (EXTRWconst [32-c] x2 x) // Rewrite special pairs of shifts to AND. // On ARM64 the bitmask can fit into an instruction. (SRLconst [c] (SLLconst [c] x)) && 0 < c && c < 64 => (ANDconst [1<<uint(64-c)-1] x) // mask out high bits
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 15:49:20 UTC 2024 - 113.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/legalize-tf.mlir
// CHECK: return %[[RES0]] : tensor<8xf32> } func.func @bitcast(%arg0: tensor<8xi32>) -> tensor<8xui32> { %0 = "tf.Bitcast"(%arg0) : (tensor<8xi32>) -> tensor<8xui32> func.return %0 : tensor<8xui32> // CHECK-LABEL: bitcast // CHECK: %[[RES0:.*]] = "tfl.bitcast"(%arg0) : (tensor<8xi32>) -> tensor<8xui32> // CHECK: return %[[RES0]] : tensor<8xui32> }
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/tensorflow/tests/canonicalize.mlir
func.func @testDoubleBitcast(%arg0: tensor<8x16x32x64xf32>) -> tensor<8x16x32x64xi32> { %0 = "tf.Bitcast"(%arg0) : (tensor<8x16x32x64xf32>) -> tensor<8x16x32x64x2xi16> %1 = "tf.Bitcast"(%0) {device = "/job:localhost/replica:0/task:0/device:GPU:0"} : (tensor<8x16x32x64x2xi16>) -> tensor<8x16x32x64xi32> func.return %1: tensor<8x16x32x64xi32>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 09 22:07:10 UTC 2024 - 132.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/tf-ops.mlir
func.func @testBitcast(%arg0: tensor<3x4xui16>) -> tensor<3x4x!tf_type.quint16> { %0 = "tf.Bitcast"(%arg0) : (tensor<3x4xui16>) -> tensor<3x4x!tf_type.quint16> func.return %0 : tensor<3x4x!tf_type.quint16> } // ----- // CHECK-LABEL: func @testBitcast_v2 func.func @testBitcast_v2(%arg0: tensor<3x2xi16>) -> tensor<3xi32> { %0 = "tf.Bitcast"(%arg0) : (tensor<3x2xi16>) -> tensor<3xi32> func.return %0 : tensor<3xi32> } // -----
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Oct 23 14:40:35 UTC 2023 - 236.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/tests/uniform-quantized-stablehlo-to-tfl.mlir
// CHECK-DAG: %[[MAX2:.+]] = arith.constant dense<3> : tensor<1xi64> // CHECK: %[[BITCAST1:.+]] = "tfl.bitcast"(%[[ARG1]]) : (tensor<i64>) -> tensor<1xi64> // CHECK: %[[MIN1:.+]] = "tfl.minimum"(%[[BITCAST1]], %[[MAX1]]) : (tensor<1xi64>, tensor<1xi64>) -> tensor<1xi64> // CHECK: %[[BITCAST2:.+]] = "tfl.bitcast"(%[[ARG2]]) : (tensor<i64>) -> tensor<1xi64>
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/ir/tfl_ops.td
let hasFolder = 1; } def TFL_BitcastOp : TFL_Op<"bitcast", [Pure]> { let summary = "Bitcast operator"; let description = [{ Bitcasts a tensor from one type to another. }]; let arguments = (ins AnyTensor:$input); let results = (outs AnyTensor:$output); // TFLite's bitcast bitop does not utilize options, instead derives types // from the TfLiteTensors.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 06 19:09:08 UTC 2024 - 186K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/ops.mlir
// CHECK: return %0 : tensor<8xf32> } // ----- // CHECK-LABEL: testBitcast func.func @testBitcast(%arg0: tensor<8xui32>) -> tensor<8xi32> { // CHECK: "tfl.bitcast"(%arg0) %0 = "tfl.bitcast"(%arg0) : (tensor<8xui32>) -> tensor<8xi32> func.return %0 : tensor<8xi32> // CHECK: return %0 : tensor<8xi32> } // ----- // CHECK-LABEL: testBitwiseXor
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 06 19:09:08 UTC 2024 - 189.2K bytes - Viewed (0)