- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for testSlice (0.17 sec)
-
tensorflow/compiler/mlir/lite/tests/ops.mlir
func.return %0 : tensor<1x96x96x16x!quant.uniform<u8:f32, 0.00784:128>> } // ----- func.func @testSlice(%arg0: tensor<2x3x5xf32>, %arg1: tensor<3xi32>, %arg2: tensor<3xi32>) -> tensor<?x3x5xf32> { %0 = "tfl.slice"(%arg0, %arg1, %arg2) : (tensor<2x3x5xf32>, tensor<3xi32>, tensor<3xi32>) -> tensor<?x3x5xf32>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 06 19:09:08 UTC 2024 - 189.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/tf-ops.mlir
%0 = "tf.Pack"(%arg0, %arg1) {axis = 3 : i64} : (tensor<4x8xf32>, tensor<4x8xf32>) -> tensor<*xf32> func.return %0 : tensor<*xf32> } // ----- // Valid slice operation. func.func @testSlice(%arg0: tensor<3x4xi32>, %arg1: tensor<2xi64>) -> tensor<1x4xi32> { %sizes = "tf.Const"() {value = dense<[1, 4]> : tensor<2xi64>} : () -> (tensor<2xi64>)
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Oct 23 14:40:35 UTC 2023 - 236.4K bytes - Viewed (0) -
src/reflect/all_test.go
} s := "0123456789" v = ValueOf(s).Index(3).Interface().(byte) if v != s[3] { t.Errorf("s.Index(3) = %v; expected %v", v, s[3]) } } func TestSlice(t *testing.T) { xs := []int{1, 2, 3, 4, 5, 6, 7, 8} v := ValueOf(xs).Slice(3, 5).Interface().([]int) if len(v) != 2 { t.Errorf("len(xs.Slice(3, 5)) = %d", len(v)) } if cap(v) != 5 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 218.8K bytes - Viewed (0)