- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for perm_arr (0.13 sec)
-
tensorflow/compiler/mlir/lite/transforms/push_transpose_through_ewise.cc
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 12.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/layout_optimization.cc
} } // Nothing to do here. if (!permutation_op || transpose_ops.empty()) return; SmallVector<int64_t, 4> permutation; auto perm_attr = mlir::cast<DenseElementsAttr>(permutation_op.getValue()); for (const auto& value : perm_attr.getValues<APInt>()) permutation.push_back(value.getSExtValue()); // We want to make sure the shape of the operand equals the transposed shape.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 19.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/prepare_tf.cc
auto perm_type = tensorflow::GetTypeFromTFTensorShape( {static_cast<int>(perm.size())}, rewriter.getIntegerType(32)); auto perm_attr = DenseElementsAttr::get(perm_type, llvm::ArrayRef<int>(perm)); auto perm_op = rewriter.create<TF::ConstOp>(loc, perm_type, perm_attr); // Create tensor type for the transpose result. auto filter_type = mlir::cast<RankedTensorType>(filter.getType());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 28 21:49:50 UTC 2024 - 64.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/uniform_quantized_stablehlo_to_tfl_pass.cc
TensorType perm_type = operand_type.cloneWith( {static_cast<int64_t>(permutation.size())}, rewriter.getI32Type()); 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); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 22 09:00:19 UTC 2024 - 99.8K bytes - Viewed (0) -
cmd/xl-storage.go
} } return nil } func convertAccessError(err, permErr error) error { switch { case osIsNotExist(err): return errVolumeNotFound case isSysErrIO(err): return errFaultyDisk case osIsPermission(err): return permErr default: return err }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 15:51:27 UTC 2024 - 85.3K bytes - Viewed (0) -
src/path/filepath/path_test.go
if err != nil { t.Fatalf("no error expected, found: %s", err) } if len(errors) != 0 { t.Fatalf("unexpected errors: %s", errors) } checkMarks(t, true) errors = errors[0:0] t.Run("PermErr", func(t *testing.T) { // Test permission errors. Only possible if we're not root // and only on some file systems (AFS, FAT). To avoid errors during // all.bash on those file systems, skip during go test -short.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 22 16:38:19 UTC 2024 - 47.1K bytes - Viewed (0)