- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 1,300 for shake (0.04 sec)
-
tensorflow/compiler/mlir/lite/experimental/tac/transforms/device_transform_patterns.cc
if (pack_axis < 0) { pack_axis += rank; } // Concat out shape. for (int i = 0; i < rank; ++i) { int64_t dim_size = input_type.getDimSize(i); if (i == pack_axis) { dim_size *= count; } concat_out_shape.push_back(dim_size); } // Pack out shape. int j = 0; for (int i = 0; i < rank + 1; ++i) { if (i == pack_axis) {
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/tensorflow/tests/replicate_invariant_op_hoisting.mlir
} func.return } // CHECK: %[[SHAPE:[0-9]*]] = "tf.Shape"(%[[ARG_0]]) // CHECK: %[[OP_A:[0-9]*]] = "tf.opA"(%[[SHAPE]]) // CHECK: %[[OP_B:[0-9]*]] = "tf.opB"(%[[SHAPE]], %[[OP_A]]) // CHECK: tf_device.replicate // CHECK: tf_device.return %[[SHAPE]], %[[OP_A]], %[[OP_B]] // CHECK-LABEL: func @nested_ops
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Oct 31 08:59:10 UTC 2023 - 11.9K bytes - Viewed (0) -
src/cmd/go/internal/str/str_test.go
// if either host or share name is different, return s {`\\host\share\foo`, ``, `\\host\share\foo`}, {`\\host\share\foo`, `\foo`, `\\host\share\foo`}, {`\\host\share\foo`, `\\host\other\`, `\\host\share\foo`}, {`\\host\share\foo`, `\\other\share\`, `\\host\share\foo`}, {`\\host\share\foo`, `\\host\`, `\\host\share\foo`}, {`\\host\share\foo`, `\share\`, `\\host\share\foo`}, // only volume names are case-insensitive
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 25 16:49:13 UTC 2023 - 5.4K bytes - Viewed (0) -
tensorflow/c/eager/unified_api_test.cc
absl::Span<AbstractTensorHandle*> outputs) { PartialTensorShape shape; TF_RETURN_IF_ERROR(inputs[0]->Shape(&shape)); if (shape.dims() != 0) { return errors::InvalidArgument( "Tensor expected to have scalar shape found rank: ", shape.dims()); } return absl::OkStatus(); } TEST_P(UnifiedAPI, TestTensorShapeScalar) { if (UseFunction() && UseMlir()) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Feb 27 13:57:45 UTC 2024 - 6.7K bytes - Viewed (0) -
tensorflow/cc/gradients/math_grad_test.cc
xs.push_back(Placeholder(scope_, DT_FLOAT, Placeholder::Shape(shape))); auto y = AddN(scope_, xs); RunTest(xs, {shape, shape, shape}, {y}, {shape}); } TEST_F(NaryGradTest, Add) { TensorShape x1_shape({3, 2, 5}); TensorShape x2_shape({2, 5}); auto x1 = Placeholder(scope_, DT_FLOAT, Placeholder::Shape(x1_shape)); auto x2 = Placeholder(scope_, DT_FLOAT, Placeholder::Shape(x2_shape));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Aug 25 18:20:20 UTC 2023 - 36K bytes - Viewed (0) -
tensorflow/compiler/jit/tests/device_compiler_test_helper.cc
TF_RETURN_IF_ERROR(session->Create(graph)); RunOptions run_options; Tensor input_a = CreateInputTensor(shape, 0); Tensor input_b = CreateInputTensor(shape, shape.num_elements()); Tensor input_c = CreateInputTensor(shape, 2 * shape.num_elements()); TF_RETURN_IF_ERROR(session->Run( run_options, {std::make_pair("a", input_a), std::make_pair("b", input_b),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Feb 09 08:24:16 UTC 2024 - 6.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/dynamic_shape_utils.cc
return llvm::to_vector(llvm::map_range(shapes, [](int64_t shape) { return shape == kTFDynamicSize ? mlir::ShapedType::kDynamic : shape; })); } llvm::SmallVector<int64_t> ConvertMlirShapeToTF( llvm::ArrayRef<int64_t> shapes) { return llvm::to_vector(llvm::map_range(shapes, [](int64_t shape) { return mlir::ShapedType::isDynamic(shape) ? kTFDynamicSize : shape; })); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Nov 21 16:21:18 UTC 2022 - 1.6K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/img/java-library-ignore-deprecated-main.dot
node [fontname = "Sans"]; edge [fontname = "Sans"]; "apiElements" [shape="box", label=<<B>apiElements</B>(C)>, color="pink", bgcolor="pink", style="filled"] "apiElements" -> "api" "apiElements" -> "compileOnlyApi" "api" [shape="box", label=<<B>api</B>>, color="chartreuse3", bgcolor="chartreuse3", style="filled"] "compileOnlyApi" [shape="box", label=<<B>compileOnlyApi</B>>, color="chartreuse3", bgcolor="chartreuse3", style="filled"]
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 1.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/unidirectional_sequence_lstm.mlir
// CHECK-NEXT: }, { // CHECK-NEXT: shape: [ 0 ], // CHECK-NEXT: name: "input_to_input_intermediate", // CHECK-NEXT: has_rank: true // CHECK-NEXT: }, { // CHECK-NEXT: shape: [ 0 ], // CHECK-NEXT: name: "input_to_forget_intermediate", // CHECK-NEXT: has_rank: true // CHECK-NEXT: }, { // CHECK-NEXT: shape: [ 0 ], // CHECK-NEXT: name: "input_to_cell_intermediate",
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Dec 06 18:55:51 UTC 2023 - 11.7K bytes - Viewed (0) -
tensorflow/c/experimental/next_pluggable_device/tensor_pjrt_buffer_util_test.cc
auto c_api_client = down_cast<xla::PjRtCApiClient*>(pjrt_client->get()); std::vector<int32_t> data(1, 0); xla::Shape shape = xla::ShapeUtil::MakeShape(xla::S32, {1}); auto buffer = c_api_client->pjrt_c_client()->client->BufferFromHostBuffer( data.data(), shape.element_type(), shape.dimensions(), /*byte_strides=*/std::nullopt, xla::PjRtClient::HostBufferSemantics::kImmutableOnlyDuringCall, nullptr,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 01 16:29:40 UTC 2024 - 7.2K bytes - Viewed (0)