- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for max_range (0.24 sec)
-
tensorflow/compiler/mlir/tensorflow/ir/tf_generated_ops.td
min_range = min_T / scale_factor; max_range = max_T / scale_factor; ``` e.g. if T = qint8, and initially min_range = -10, and max_range = 9, we would compare -128/-10.0 = 12.8 to 127/9.0 = 14.11, and set scaling_factor = 12.8 In this case, min_range would remain -10, but max_range would be adjusted to 127 / 12.8 = 9.921875 So we will quantize input values in the range (-10, 9.921875) to (-128, 127).
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 11 23:24:08 UTC 2024 - 793K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/tpu_rewrite_device_util.cc
// Check that all system devices are part of the same job. const auto& job = system_devices[0].job; auto replica = system_devices[0].replica; for (const auto& device : llvm::make_range(std::next(system_devices.begin()), system_devices.end())) { if (device.job != job) return MismatchedTPUSystemAttributeErr("job", job, device.job);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Jun 10 20:10:40 UTC 2024 - 32.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc
if (auto* op = producer.dyn_cast<Operation*>()) os << "op " << op->getName(); if (auto ba = producer.dyn_cast<BlockArgument>()) os << "block_arg " << ba.getArgNumber(); os << formatv(" [{0}]", llvm::make_range(port.begin(), port.end())); return os; } bool IsValid() const { return !producer.isNull(); } }; struct ValuePortHasher { std::size_t operator()(const ValuePort& other) const {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Jun 08 07:28:49 UTC 2024 - 134.1K bytes - Viewed (0) -
pkg/config/validation/validation.go
} if policy.MaxAge != nil { errs = appendErrors(errs, agent.ValidateDuration(policy.MaxAge)) if policy.MaxAge.Nanos > 0 { errs = multierror.Append(errs, errors.New("max_age duration is accurate only to seconds precision")) } } return } func validateAllowOrigins(origin *networking.StringMatch) error { var match string switch origin.MatchType.(type) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 12 04:03:33 UTC 2024 - 107.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf.cc
auto func_op = cast<mlir::func::FuncOp>(SymbolTable::lookupSymbolIn( op->getParentOfType<mlir::ModuleOp>(), func)); auto func_ty = func_op.getFunctionType(); SmallVector<Type> elementTypes{llvm::map_range( func_ty.getResults(), [](Type ty) { return mlir::cast<ShapedType>(ty).getElementType(); })}; // Create the mhlo.reduce op. auto reduce_op = rewriter.create<mhlo::ReduceOp>(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 11 20:00:43 UTC 2024 - 291.8K bytes - Viewed (0) -
docs/en/docs/release-notes.md
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Fri Jun 14 15:07:37 UTC 2024 - 395.4K bytes - Viewed (0)