- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 1,694 for shade (0.04 sec)
-
tensorflow/compiler/jit/xla_host_send_device_context.h
// se::DeviceMemoryBase gpu_dst{device_tensor.data(), 4 * sizeof(float)}; // xla::Shape shape(xla::F32, {2, 2}, {}, {}) // tsl::AsyncValueRef<std::unique_ptr<se::Event>> done_event = // tsl::MakeConstructedAsyncValueRef<std::unique_ptr<se::Event>>(stream.parent()); // done_event->Init(); // // XlaHostSendDeviceContext device_context(&stream, &gpu_dst, // shape, done_event); // device_context.CopyCPUTensorToDeviceSync(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 22:46:36 UTC 2024 - 3.7K bytes - Viewed (0) -
tensorflow/c/tf_shape.cc
return tensorflow::wrap(new tensorflow::PartialTensorShape()); } int TF_ShapeDims(const TF_Shape* shape) { return tensorflow::unwrap(shape)->dims(); } int64_t TF_ShapeDimSize(const TF_Shape* shape, int d) { return tensorflow::unwrap(shape)->dim_size(d); } void TF_DeleteShape(TF_Shape* shape) { delete tensorflow::unwrap(shape); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Sep 30 00:25:41 UTC 2020 - 1.2K bytes - Viewed (0) -
tensorflow/c/eager/abstract_tensor_handle.cc
namespace tensorflow { std::string AbstractTensorHandle::DebugString() const { PartialTensorShape shape; Status s = Shape(&shape); std::string shape_string; if (!s.ok()) { shape_string = "<error computing shape>"; } else { shape_string = shape.DebugString(); } return absl::StrCat("TensorHandle(shape=", shape_string, ", dtype=", DataType_Name(DataType()),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 15 09:49:45 UTC 2024 - 1.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/convert_tensor.h
// Converts a shape from MLIR to a TensorFlow tensor shape proto. void ConvertToTensorShapeProto(llvm::ArrayRef<int64_t> shape, TensorShapeProto* output_shape); // Converts an MLIR type to a TensorFlow tensor shape. PartialTensorShape ConvertTypeToTensorShape(const mlir::Type& type); // Converts an MLIR shaped type to a TensorFlow shape attribute.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Apr 26 09:37:10 UTC 2024 - 2.9K bytes - Viewed (0) -
src/runtime/pprof/protomem_test.go
const expectedLocation = "runtime/pprof.nonRecursiveGenericAllocFunction[go.shape.struct {},go.shape.struct { runtime/pprof.buf [128]uint8 }];runtime/pprof.nonRecursiveGenericAllocFunction[go.shape.struct...
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 21 14:38:45 UTC 2024 - 6.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/multi_output_op.json
{ "builtin_code": "SPLIT" } ], "subgraphs": [ { "tensors": [ { "shape": [ 1 ], "name": "split_dim", "quantization": { } }, { "shape": [ 256, 32, 32, 3 ], "name": "input",
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Dec 03 00:08:31 UTC 2022 - 1.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/tests/legalize-tf-BatchMatMulV2.mlir
// CHECK: [[LHSSHAPE:%.*]] = shape.shape_of [[LHS]] : tensor<1x4x2xf32> // CHECK: [[RHSSHAPE:%.*]] = shape.shape_of [[RHS]] : tensor<3x2x4xf32> // CHECK: [[CM2:%.*]] = arith.constant -2 : index // CHECK: [[LHSHEAD:%.*]], [[LHSTAIL:%.*]] = "shape.split_at"([[LHSSHAPE]], [[CM2]]) // CHECK: [[RHSHEAD:%.*]], [[RHSTAIL:%.*]] = "shape.split_at"([[RHSSHAPE]], [[CM2]])
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Apr 06 15:32:52 UTC 2024 - 5.5K bytes - Viewed (0) -
tensorflow/c/experimental/saved_model/core/tf_concrete_function_test_protos.cc
values: { tuple_value: { values: { tensor_spec_value: { name : "x" shape: { dim: { size: 1 } } dtype: DT_FLOAT } } values: { tensor_spec_value: { name : "y" shape: { dim: { size: 1 } } dtype: DT_FLOAT
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jul 08 07:00:37 UTC 2020 - 4.4K bytes - Viewed (0) -
tensorflow/cc/experimental/base/tests/tensorhandle_test.cc
// This is our 1D tensor of varying dtype. std::vector<typename TypeParam::type> value = {42, 100, 0, 1, 4, 29}; // Shape is Rank 1 vector. std::vector<int64_t> shape; shape.push_back(value.size()); Tensor original_tensor = Tensor::FromBuffer( /*dtype=*/dtype, /*shape=*/shape, /*data=*/value.data(), /*len=*/value.size() * sizeof(typename TypeParam::type),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Apr 13 09:56:08 UTC 2024 - 6.9K bytes - Viewed (0) -
tensorflow/cc/gradients/resource_variable_grad_test.cc
namespace ops { namespace { TEST(ResourceVariableGradTest, ReadVariableOpGrad) { TensorShape shape({}); auto scope = Scope::NewRootScope(); auto x = Placeholder(scope, DT_FLOAT, Placeholder::Shape(shape)); auto var = VarHandleOp(scope, DT_FLOAT, shape); auto init = AssignVariableOp(scope, var, Const(scope, 2.0f, shape)); auto temp = ReadVariableOp(scope, var, DT_FLOAT); auto y = Mul(scope, temp, x);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Apr 14 15:30:48 UTC 2021 - 2.2K bytes - Viewed (0)