- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 557 for shake (0.08 sec)
-
tensorflow/compiler/jit/xla_host_send_recv_device_context_test.cc
TF_ASSERT_OK_AND_ASSIGN(auto stream, executor->CreateStream()); se::DeviceMemoryBase gpu_dst{device_tensor.data(), 4 * sizeof(float)}; xla::Shape shape; TF_ASSERT_OK(TensorShapeToXLAShape(DT_FLOAT, TensorShape({2, 2}), &shape)); // Copy the cpu_tensor to the GPU first before trying to copy it back. TF_ASSERT_OK( stream->Memcpy(&gpu_dst, origin_cpu_tensor.data(), gpu_dst.size()));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 22:46:36 UTC 2024 - 7.2K bytes - Viewed (0) -
tensorflow/compiler/jit/xla_launch_util.cc
TensorShape shape; TF_RETURN_IF_ERROR(XLAShapeToTensorShape(subshape, &shape)); output_tensor_shapes.push_back(shape); } } else { for (int i = 0; i < ctx->num_outputs(); ++i) { output_tensor_shapes.push_back(compilation_result->outputs[i].shape); } } // Copy XLA results to the OpOutputList. int output_num = 0; for (int i = 0, end = ctx->num_outputs(); i < end; ++i) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 16 00:36:08 UTC 2024 - 40.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/fuse-tftext.mlir
} func.func @WhitespaceTokenize_RaggedConcat_assert_equal_1_Assert_AssertGuard_false_3210(%arg0: tensor<i1>, %arg1: tensor<i64>, %arg2: tensor<i64>) -> tensor<i1> attributes {tf._input_shapes = [#tf_type.shape<>, #tf_type.shape<>, #tf_type.shape<>], tf.signature.is_stateful} { %0 = "tf.Const"() {value = dense<"Input tensors have incompatible shapes."> : tensor<!tf_type.string>} : () -> tensor<!tf_type.string>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 09:41:17 UTC 2024 - 460.3K bytes - Viewed (0) -
src/runtime/stubs.go
import ( "internal/abi" "unsafe" ) // Should be a built-in for unsafe.Pointer? // // add should be an internal detail, // but widely used packages access it using linkname. // Notable members of the hall of shame include: // - fortio.org/log // // Do not remove or change the type signature. // See go.dev/issue/67401. // //go:linkname add //go:nosplit func add(p unsafe.Pointer, x uintptr) unsafe.Pointer {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 20.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/flatbuffer_operator.cc
std::vector<int64_t> shape; shape.push_back(static_cast<int64_t>(data.size())); attributes.emplace_back(builder.getNamedAttr( "window_strides", BuildVhloTensorV1Attr(shape, data, builder))); } if (!(op->padding.empty())) { std::vector<int64_t> shape; shape.push_back(static_cast<int64_t>(op->padding.size()) / 2); shape.push_back(2);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 21 18:21:50 UTC 2024 - 38K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/python/integration_test/quantize_model_test_base.py
tensor_spec.TensorSpec( shape=shape, dtype=dtypes.float32, name='input_tensor' ) ), ) return model # Prepares sample einsum input data shapes. # This function returns: # 1. Shape for input 1 # 2. Shape for input 2 # 3. Shape for bias # 4. Signature for input 1 (Could contain None dimension)
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 14 06:31:57 UTC 2024 - 18.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/unfuse_batch_norm_pass.cc
} // Gets the shape of operand, assuming it is a dynamic shape with static rank. Value getShapeValue(Location loc, Value operand, PatternRewriter &rewriter) { RankedTensorType resultType = mlir::dyn_cast<RankedTensorType>(operand.getType()); return rewriter.create<shape::ShapeOfOp>( loc, RankedTensorType::get(/*shape=*/{resultType.getRank()},
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 11.2K bytes - Viewed (0) -
pkg/scheduler/apis/config/validation/validation_pluginargs_test.go
&field.Error{ Type: field.ErrorTypeInvalid, Field: "shape[0].utilization", }, &field.Error{ Type: field.ErrorTypeInvalid, Field: "shape[1].score", }, &field.Error{ Type: field.ErrorTypeInvalid, Field: "shape[2].score", }, &field.Error{ Type: field.ErrorTypeInvalid, Field: "shape[3].utilization", }, }), }, }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 27.3K bytes - Viewed (0) -
src/os/path_windows_test.go
// UNC Absolute {`\\srv\share\long`, `\\?\UNC\srv\share\long`}, {`//srv/share/long`, `\\?\UNC\srv\share\long`}, {`/\srv/share/long`, `\\?\UNC\srv\share\long`}, {`\\srv\share\long\`, `\\?\UNC\srv\share\long\`}, {`\\srv\share\bar\.\long`, `\\?\UNC\srv\share\bar\long`}, {`\\srv\share\bar\..\long`, `\\?\UNC\srv\share\long`}, {`\\srv\share\bar\..\..\long`, `\\?\UNC\srv\share\long`}, // share name is not removed by ".."
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 23 16:37:32 UTC 2024 - 8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/convert_type.h
// Converts an TensorFlow shape to the one used in MLIR. void ConvertToMlirShape(const TensorShape& input_shape, llvm::SmallVectorImpl<int64_t>* shape); // Converts an TensorFlow shape proto to the one used in MLIR. Status ConvertToMlirShape(const TensorShapeProto& input_shape, llvm::SmallVectorImpl<int64_t>* shape);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Apr 26 09:37:10 UTC 2024 - 2.2K bytes - Viewed (0)