- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 15 for slice_v1 (0.22 sec)
-
tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/vhlo.mlir
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Mar 14 19:15:40 UTC 2024 - 31.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/experimental/tac/transforms/device_transform_patterns.cc
slice_op.getLoc(), new_output_type, reshape_op, new_begin, new_size); // Append a reshape at the bottom. auto output_reshape_op = InsertReshapeOp(slice_op.getLoc(), new_slice, output_type.getElementType(), output_type.getShape(), &rewriter); rewriter.replaceOp(slice_op, output_reshape_op.getResult());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 25.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/convert_tf_xla_op_to_tf_op.cc
collapsed_dims.insert(dimension_numbers.collapsed_slice_dims().begin(), dimension_numbers.collapsed_slice_dims().end()); // Slice operand by constructed start_indices and slice_sizes. auto slice_op = builder.create<TF::SliceOp>( loc, GetSliceOpOutputType(output.getType(), collapsed_dims), operand, /*start_indices=*/scattered_start_indices, /*slice_sizes=*/ builder.create<TF::CastOp>(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 13.2K bytes - Viewed (0) -
src/sort/sort_test.go
func TestSortFloat64sCompareSlicesSort(t *testing.T) { slice1 := slices.Clone(float64s[:]) slice2 := slices.Clone(float64s[:]) Sort(Float64Slice(slice1)) slices.Sort(slice2) // Compare for equality using cmp.Compare, which considers NaNs equal. if !slices.EqualFunc(slice1, slice2, func(a, b float64) bool { return cmp.Compare(a, b) == 0 }) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 07 19:41:04 UTC 2024 - 16.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/lower-static-tensor-list.mlir
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Oct 30 06:52:55 UTC 2023 - 39.9K bytes - Viewed (0) -
tests/upsert_test.go
t.Fatalf("failed to update user's updated_at, old: %v, new: %v", user2.UpdatedAt, user3.UpdatedAt) } } } func TestUpsertSlice(t *testing.T) { langs := []Language{ {Code: "upsert-slice1", Name: "Upsert-slice1"}, {Code: "upsert-slice2", Name: "Upsert-slice2"}, {Code: "upsert-slice3", Name: "Upsert-slice3"}, } DB.Clauses(clause.OnConflict{DoNothing: true}).Create(&langs) var langs2 []Language
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Mon Sep 05 07:39:19 UTC 2022 - 11.4K bytes - Viewed (0) -
test/codegen/slices.go
// ppc64x:"SUBC",-"NEG" return a[(3 - b):] } // --------------------------------------- // // Code generation for unsafe.Slice // // --------------------------------------- // func Slice1(p *byte, i int) []byte { // amd64:-"MULQ" return unsafe.Slice(p, i) } func Slice0(p *struct{}, i int) []struct{} { // amd64:-"MULQ" return unsafe.Slice(p, i)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 23 18:57:27 UTC 2023 - 9.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tpu_space_to_depth_pass.cc
GetReshapeOpForConv2DFilter(last_reshape_shape, transpose_op, &builder); // create slice op. auto slice_op = GetSliceOpForConv2DBackPropFilter(old_filter_shape, final_reshape_op, &builder); // Update backprop's user with the slice op. backprop.replaceAllUsesWith(slice_op.getResult()); } // Checks if the input producer op is supported in this transform. Right now, we
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 29.3K bytes - Viewed (0) -
tensorflow/compiler/jit/increase_dynamism_for_auto_jit_pass.cc
TF_RETURN_IF_ERROR(GetNodeAttr(n->def(), "value", &proto)); Tensor tensor(proto->dtype()); TF_RET_CHECK(tensor.FromProto(*proto)); return {tensor}; } struct SliceInputs { Output slice_op; Output input; Output begin; Output size; // The size of the TF slice operation as a std::vector. We can always compute // this because we only manipulate slices with a Const size.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 12 06:33:33 UTC 2024 - 13.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/tests/legalize-tf-with-tf2xla-hlo-importer.mlir
// CHECK: %[[SLICE1:.*]] = "mhlo.slice"(%[[ARG2]]) // CHECK-DAG-SAME: start_indices = dense<1> : tensor<1xi64> // CHECK-DAG-SAME: limit_indices = dense<2> : tensor<1xi64> // CHECK-DAG-SAME: strides = dense<1> : tensor<1xi64> // CHECK-SAME: (tensor<2xi32>) -> tensor<1xi32> // CHECK: %[[DIM1:.*]] = mhlo.reshape %[[SLICE1]] : (tensor<1xi32>) -> tensor<i32>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Apr 06 15:32:52 UTC 2024 - 38.6K bytes - Viewed (0)