- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 543 for ShapeN (0.15 sec)
-
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) -
tensorflow/compiler/jit/xla_host_recv_device_context.h
public: XlaHostRecvDeviceContext( se::Stream* stream, const se::DeviceMemoryBase& device_memory_base, const xla::Shape& shape, tsl::AsyncValueRef<std::unique_ptr<se::Event>>& done_event) : stream_(stream), device_memory_base_(device_memory_base), shape_(shape), done_event_(done_event) {} void CopyCPUTensorToDevice(const Tensor* cpu_tensor, Device* device,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 22:46:36 UTC 2024 - 3.9K bytes - Viewed (0) -
tensorflow/compiler/jit/xla_device_compiler_client.cc
#include "xla/client/local_client.h" namespace tensorflow { namespace { std::vector<const xla::Shape*> GetShapePointers( absl::Span<const xla::Shape> shapes) { std::vector<const xla::Shape*> shape_ptrs; shape_ptrs.reserve(shapes.size()); for (const auto& shape : shapes) { shape_ptrs.push_back(&shape); } return shape_ptrs; } } // namespace absl::StatusOr<std::unique_ptr<xla::LocalExecutable>>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Feb 21 09:53:30 UTC 2024 - 4.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/arg-data-type-with-subtype.pbtxt
# RUN: tf-mlir-translate -graphdef-to-mlir -tf-enable-shape-inference-on-import=false %s -tf-input-arrays=p,x -tf-input-data-types="DT_INT32,DT_RESOURCE(DT_INT32)" -tf-output-arrays=p,x -o - | FileCheck %s -check-prefix=CHECK-NO-SHAPE
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Apr 27 00:16:51 UTC 2022 - 1.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/shape_inference_with_shape_specialization.mlir
// RUN: tf-opt %s -tf-shape-inference=input-arg-shapes=1 -verify-diagnostics -split-input-file | FileCheck %s // RUN: not tf-opt %s -tf-shape-inference=input-arg-shapes=* 2>&1 | FileCheck --check-prefix=INPUT_ARG_SHAPES_ERROR %s // INPUT_ARG_SHAPES_ERROR: Missing input argument shapes module attributes {tf.versions = {bad_consumers = [], min_consumer = 0 : i32, producer = 268 : i32}} { // CHECK-LABEL: func.func @main
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Apr 24 12:49:45 UTC 2024 - 2.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/arg-multi-data-type-with-subtype.pbtxt
value { type: DT_INT32 } } attr { key: "shape" value { shape { unknown_rank: true } } } } node { name: "x" op: "Placeholder" attr { key: "dtype" value { type: DT_VARIANT } } attr { key: "shape" value { shape { unknown_rank: true } } } } node {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 07 18:11:42 UTC 2022 - 2.4K bytes - Viewed (0) -
tensorflow/compiler/jit/extract_outside_compilation_pass.h
// 7. Add necessary attributes to `node_def`, so we can replace it with a // XlaHostCompute node later. If all input shapes for XlaSendFromHost are // known, "shapes" attr will be set to the list of input shapes; otherwise // "shape_inference_graph" attr will be set to shape inference function name. class RewriteOutsideCompilationSubgraphFn { public: RewriteOutsideCompilationSubgraphFn(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Sep 06 19:12:29 UTC 2023 - 5.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/end2end/unroll_batch_matmul_disabled.pbtxt
node { name: "Placeholder" op: "Placeholder" attr { key: "dtype" value { type: DT_FLOAT } } attr { key: "shape" value { shape { dim { size: 2 } dim {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 09:41:17 UTC 2024 - 1.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/graph-undefined-output.pbtxt
# RUN: not tf-mlir-translate -graphdef-to-mlir -tf-enable-shape-inference-on-import=false %s -tf-input-arrays=input -tf-input-data-types=DT_FLOAT -tf-input-shapes='' -tf-output-arrays=NotANodeInTheGraph -o - 2>&1 | FileCheck %s # CHECK: Output NotANodeInTheGraph was not found in graph node { name: "input" op: "Placeholder" device: "/device:CPU:0" attr { key: "dtype" value { type: DT_FLOAT } } attr {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Aug 10 23:27:16 UTC 2021 - 713 bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/derived_shape_attr.mlir
// Check that attributes that define derived shapes are exported. // CHECK: op: "PlaceholderWithDefault" // CHECK: shape // CHECK: unknown_rank: true // CHECK: name: "static" // CHECK: op: "PlaceholderWithDefault" // CHECK: shape { // CHECK-NEXT: } // CHECK: name: "static_10" // CHECK: op: "PlaceholderWithDefault" // CHECK: shape // CHECK: dim // CHECK: size: 10 func.func @main() {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Mar 28 12:06:33 UTC 2022 - 1.2K bytes - Viewed (0)