- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for Tperm (0.06 sec)
-
tensorflow/compiler/mlir/lite/transforms/optimize.cc
bool TransposeFirstTwoDimToLast(DenseIntElementsAttr perm) const { int rank = perm.getNumElements(); if (rank < 3) return false; for (int i = 0; i < rank - 2; i++) { if (perm.getValues<APInt>()[i] != i + 2) { return false; } } return perm.getValues<APInt>()[rank - 2] == 0 && perm.getValues<APInt>()[rank - 1] == 1; } };
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 30 00:40:15 UTC 2024 - 102.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_ops_a_m.cc
auto perm = GetDataFormatPermutation(this->getDataFormat(), data_format); if (perm.empty()) return failure(); // Update data_format attribute and result types. if (failed(::mlir::TF::UpdateDataFormat(data_format, this))) return failure(); // Update convolution attributes. (*this)->setAttr("dilations", ShuffleArrayAttr(getDilations(), perm));
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/ir/tf_ops_n_z.cc
} return TransposeOp::build(builder, result, UnrankedTensorType::get(etype), x, perm); } namespace { OpFoldResult FoldIdentityTranspose(TransposeOp op) { DenseIntElementsAttr perm; if (!matchPattern(op.getPerm(), m_Constant(&perm))) return {}; const auto elements = perm.getValues<APInt>();
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/ir/tfl_ops.cc
return op.emitOpError( "perm tensor elements size is not equal to input tensor rank"); } } DenseIntElementsAttr perm; if (!matchPattern(op.getPerm(), m_Constant(&perm))) { return success(); } int index = 0; llvm::SmallVector<int64_t, 4> axes; for (const auto& axis_int : perm.getValues<APInt>()) { int64_t axis = axis_int.getSExtValue();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 09:41:17 UTC 2024 - 169.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/tests/uniform-quantized-stablehlo-to-tfl.mlir
// CHECK: %[[BROADCAST_DIM:.+]] = arith.constant // CHECK{LITERAL}: dense<[2, 3]> : tensor<2xi32> // CHECK: %[[PERM:.+]] = arith.constant // CHECK{LITERAL}: dense<[1, 0]> : tensor<2xi32> // CHECK: %[[TRANSPOSE:.+]] = "tfl.transpose"(%[[ARG0]], %[[PERM]]) : (tensor<1x2x!quant.uniform<i8:f32, 2.000000e+00:3>>, tensor<2xi32>) -> tensor<2x1x!quant.uniform<i8:f32, 2.000000e+00:3>>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 14 17:10:32 UTC 2024 - 106.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/uniform_quantized_stablehlo_to_tfl_pass.cc
auto perm_attr = DenseIntElementsAttr::get(perm_type, permutation); auto perm = rewriter.create<arith::ConstantOp>(op.getLoc(), perm_attr); Value input = op.getOperand(); return rewriter.create<TFL::TransposeOp>(op.getLoc(), input, perm); } Value InsertExpandDimsOp(stablehlo::BroadcastInDimOp op,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 22 09:00:19 UTC 2024 - 99.8K bytes - Viewed (0) -
src/cmd/go/internal/work/exec.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 14:46:37 UTC 2024 - 105.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/ir/tfl_ops.td
TFL_TensorOf<[I32]>:$perm ); let results = (outs TFL_TensorOf<[I32, F32, I8, UI8, QI8, QUI8, TFL_Quint8, I1, I64, QI16]>:$output ); let hasVerifier = 1; let hasFolder = 1; let hasCanonicalizer = 1; let builders = [ OpBuilder<(ins "Value":$input, "Value":$perm), [{ BuildTransposeOp(&$_builder, $_state, input, perm); }]>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 06 19:09:08 UTC 2024 - 186K bytes - Viewed (0) -
pkg/kubelet/kubelet_pods.go
// later auto-create it with the incorrect mode 0750 // Make extra care not to escape the volume! perm, err := hu.GetMode(volumePath) if err != nil { return nil, cleanupAction, err } if err := subpather.SafeMakeDir(subPath, volumePath, perm); err != nil { // Don't pass detailed error back to the user because it could give information about host filesystem
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 14 16:09:17 UTC 2024 - 101.2K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/zerrors_linux.go
ENOMEM = syscall.Errno(0xc) ENOSPC = syscall.Errno(0x1c) ENOTBLK = syscall.Errno(0xf) ENOTDIR = syscall.Errno(0x14) ENOTTY = syscall.Errno(0x19) ENXIO = syscall.Errno(0x6) EPERM = syscall.Errno(0x1) EPIPE = syscall.Errno(0x20) ERANGE = syscall.Errno(0x22) EROFS = syscall.Errno(0x1e) ESPIPE = syscall.Errno(0x1d) ESRCH = syscall.Errno(0x3)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 16:19:04 UTC 2024 - 185.8K bytes - Viewed (0)