- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 639 for ShapeN (0.12 sec)
-
tensorflow/c/experimental/ops/array_ops.h
// Returns a tensor of zeros with the same shape and type as x. Status ZerosLike(AbstractContext* ctx, AbstractTensorHandle* const x, AbstractTensorHandle** y, const char* name = nullptr, const char* raw_device_name = nullptr); // Returns the shape of a tensor. Status Shape(AbstractContext* ctx, AbstractTensorHandle* const input,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 10 19:11:36 UTC 2022 - 2.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/empty-input-shapes.pbtxt
Hongmin Fan <******@****.***> 1614638143 -0800
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Mar 01 22:43:47 UTC 2021 - 491 bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/end2end/graph_with_placeholder_with_default.pbtxt
} } node { name: "unranked" op: "PlaceholderWithDefault" input: "tf.Const1" attr { key: "dtype" value { type: DT_INT32 } } attr { key: "shape" value { shape { unknown_rank: true } } } attr { key: "type" value { type: DT_INT32 } } experimental_debug_info { } } node {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Oct 13 16:33:28 UTC 2021 - 2.4K bytes - Viewed (0) -
tensorflow/c/experimental/saved_model/core/revived_types/variable.h
ImmediateExecutionContext* ctx, DataType dtype, TensorShape shape, absl::optional<std::string> name, const char* raw_device_name, const std::vector<std::string>& component_devices, std::unique_ptr<Variable>* output); // The dtype of the underlying variable. DataType dtype(); // The shape of the underlying variable. TensorShape shape(); // Updates the variable's contents with `handle`.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Aug 30 19:43:25 UTC 2022 - 2.8K bytes - Viewed (0) -
tensorflow/c/experimental/saved_model/core/test_utils.h
std::vector<DataType> DataTypeSetToVector(DataTypeSet set); // Returns a vector of shapes intended to be "interesting" test cases. // Currently, this returns scalar, 1D vector, 2D matrix, and a 4D tensor shapes std::vector<std::vector<int64_t>> InterestingShapes(); // Returns a TensorHandle of `dtype` and `shape`, filled with `value`. // `dtype` must be an integer dtype, float, or double.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Aug 11 01:20:50 UTC 2021 - 3.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/invalid-output-index.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=input:1 -o - 2>&1 | FileCheck %s # CHECK: Invalid output index 1 specified for node: input node { name: "input" op: "Placeholder" attr { key: "dtype" value { type: DT_FLOAT } }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Aug 10 23:27:16 UTC 2021 - 391 bytes - Viewed (0) -
tensorflow/c/kernels/summary_op_benchmark_test.cc
#include "tensorflow/core/platform/test_benchmark.h" namespace tensorflow { namespace { Graph* BM_ScalarSummaryOp(TensorShape shape, std::string tag, float value) { Graph* g = new Graph(OpRegistry::Global()); Tensor tags(DT_STRING, shape); Tensor values(DT_FLOAT, shape); for (int i = 0; i < tags.NumElements(); ++i) { tags.flat<tstring>()(i) = tag; values.flat<float>()(i) = value; } Node* ret;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Nov 25 00:59:20 UTC 2020 - 2.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/feed-as-fetch.pbtxt
# RUN: tf-mlir-translate -graphdef-to-mlir -tf-enable-shape-inference-on-import=false %s -tf-input-arrays=input -tf-input-data-types=DT_INT32 -tf-input-shapes=8 -tf-output-arrays=input -o - | FileCheck %s node { name: "input" op: "Placeholder" attr { key: "dtype" value { type: DT_INT32 } } } versions { producer: 27 } # CHECK-LABEL: func @main
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 10 19:53:21 UTC 2020 - 684 bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/compile_mlir_util/constant-folding.mlir
} } // Tests that foldable ops are constant-folded to enable legalization of ops // that require compile time constant operand. // "tf.Shape" can only be folded away after shape inference. tf.Reshape can only // be lowered when tf.Shape is folded into a constant. // CHECK-LABEL: HloModule main // CHECK: ENTRY %main.{{[0-9]+}} ([[ARG_TUPLE:.*]]: (f32[10,19], f32[19,10])) -> (f32[10,19]) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jul 25 02:54:34 UTC 2023 - 1.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/arg-as-fetch.pbtxt
# RUN: tf-mlir-translate -graphdef-to-mlir -tf-enable-shape-inference-on-import=false %s --mlir-print-debuginfo --print-after-all -tf-input-arrays=arg -tf-input-data-types=DT_INT32 -tf-input-shapes=8 -tf-output-arrays=arg -o - | FileCheck %s node { name: "arg" op: "_Arg" attr { key: "T" value { type: DT_INT32 } } attr { key: "index" value { i: 0 } } } versions { producer: 27
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 25 01:00:57 UTC 2021 - 775 bytes - Viewed (0)