- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 18 for idioms (0.26 sec)
-
tensorflow/c/c_api.cc
static char empty; int64_t nelems = 1; std::vector<int64_t> dims; dims.reserve(shape.dims()); for (int i = 0; i < shape.dims(); ++i) { dims.push_back(shape.dim_size(i)); nelems *= shape.dim_size(i); } CHECK_EQ(nelems, 0); return TF_NewTensor( dtype, reinterpret_cast<const int64_t*>(dims.data()), shape.dims(), reinterpret_cast<void*>(&empty), 0, [](void*, size_t, void*) {}, nullptr);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 15 03:35:10 UTC 2024 - 102.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 09 22:07:10 UTC 2024 - 170.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo.cc
return mlir::success(); } private: // Canonicalize the offset dims to make sure the offset dims are the trailing // dimensions of the output tensor. // We will also return the permutation for (the transpose op). // However, it's not guaranteed the canonicalized offset dims can make it // always legalizable to tf. TransposeParams CanonicalizeOffset(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 154.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_ops_a_m.cc
if (type.hasStaticShape()) return DenseElementsAttr::get(type, value.getValues<Attribute>()[0]); auto dims = mlir::dyn_cast_or_null<DenseIntElementsAttr>(operands[0]); if (!dims) return {}; llvm::SmallVector<int64_t, 4> shape; shape.reserve(dims.getNumElements()); for (const APInt dim : dims.getValues<APInt>()) { shape.push_back(dim.getSExtValue()); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 146.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc
llvm::SmallVector<int64_t, 4> dims; dims.reserve(lhs.getRank()); for (auto dim : llvm::zip(lhs.getShape(), rhs.getShape())) { int64_t lhs_dim = std::get<0>(dim); if (lhs_dim == std::get<1>(dim)) { dims.push_back(lhs_dim); } else { dims.push_back(ShapedType::kDynamic); } } return tensorflow::GetTypeFromTFTensorShape( dims, GetElementTypeFromOperand(lhs, rhs)); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Jun 08 07:28:49 UTC 2024 - 134.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/tests/uniform-quantized-stablehlo-to-tfl.mlir
// CHECK: "tfl.batch_matmul"(%[[ARG]], %[[QCONST_0]]) <{adj_x = false, adj_y = true}> // ----- // Tests static range quantized dot_general with wrong batch dims func.func @dot_general_upstream_srq_too_many_batches(%arg0: tensor<1x1x1x2x3x4x!quant.uniform<i8:f32, 1.000000e+0>>) -> tensor<1x1x1x2x3x5x!quant.uniform<i8:f32, 4.000000e+0>> {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 14 17:10:32 UTC 2024 - 106.2K bytes - Viewed (0) -
CHANGELOG/CHANGELOG-1.4.md
* Increase request timeout based on termination grace period ([#31275](https://github.com/kubernetes/kubernetes/pull/31275), [@dims](https://github.com/dims)) * Fixed two issues of kubectl bash completion. ([#31135](https://github.com/kubernetes/kubernetes/pull/31135), [@xingzhou](https://github.com/xingzhou))
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Dec 24 02:28:26 UTC 2020 - 133.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/tf-ops.mlir
func.func @testAllDimWrongRank(%input: tensor<4x6xi1>, %dims: tensor<2x2xi32>) { // expected-error @+1 {{dimensions can only be 0D or 1D tensor}} %0 = "tf.All"(%input, %dims) : (tensor<4x6xi1>, tensor<2x2xi32>) -> (tensor<*xi1>) func.return } // ----- func.func @testAllDimOutOfRange(%input: tensor<4x6xi1>) { %dims = "tf.Const"() {value = dense<[-1, 5]> : tensor<2xi32>} : () -> (tensor<2xi32>)
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Oct 23 14:40:35 UTC 2023 - 236.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/ir/tfl_ops.td
shape(expand_dims(t2, 0)) ==> [1, 2, 3, 5] shape(expand_dims(t2, 2)) ==> [2, 3, 1, 5] shape(expand_dims(t2, 3)) ==> [2, 3, 5, 1] ``` This operation requires that: `-1-input.dims() <= dim <= input.dims()` This operation is related to `squeeze()`, which removes dimensions of size 1. }]; // TODO: Restriction on dim's size and valid range are not modeled here.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 06 19:09:08 UTC 2024 - 186K bytes - Viewed (0) -
src/cmd/vendor/rsc.io/markdown/entity.go
"⇂": "\u21c2", "⋄": "\u22c4", "⋄": "\u22c4", "♦": "\u2666", "♦": "\u2666", "¨": "\u00a8", "ϝ": "\u03dd", "⋲": "\u22f2",
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 24 13:01:26 UTC 2024 - 101K bytes - Viewed (0)