- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 2,493 for OP (0.05 sec)
-
tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/verify_quant_legalization.cc
IsTFUniformQuantizedOp(op) || IsMhloUniformQuantizedOp(*op)) { op->emitOpError("is illegal as it is a UQ op or contains uq/qint types"); LOG(ERROR) << "Found illegal op containing uq/qint type: " << op->getName().getStringRef().str(); return WalkResult::interrupt(); } return WalkResult::advance(); }); if (walk_result.wasInterrupted()) { signalPassFailure(); } }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 3.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/reduce_type_precision.cc
dyn_cast<arith::ConstantOp>(op.getOperand(0).getDefiningOp()); if (!input_op) { return failure(); } Builder builder(op.getContext()); auto new_gather_op = rewriter.create<TFL::GatherOp>( op.getLoc(), /*result=*/ mlir::cast<TensorType>(op.getResult().getType()) .clone(builder.getI4Type()), /*operand=*/op.getOperands(), op->getAttrs());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 5.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/insert_weight_param.cc
LogicalResult match(Operation* op) const override { if (op->getNumResults() != 1) { return failure(); } auto type = mlir::cast<TensorType>(op->getResult(0).getType()); if (!type || !type.getElementType().isF32()) { return failure(); } return success( op->hasOneUse() && IsWeightQuantizableFunction(*op->getUses().begin(), type.getRank())); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 09 05:56:10 UTC 2024 - 10.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/analysis/side_effect_analysis.h
// Runs the analysis and populates `control_predecessors_` for `op`. void AnalyzeOp(Operation* op); // Updates `control_predecessors_` for given `resource_id` and `op`. void AddPredecessorsForAccess(ResourceId resource_id, Operation* op, bool read_only); // Updates resource access for given `resource_id` and `op` in // `per_resource_access_info_` and `op_to_resource_ids_`.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 15 09:04:13 UTC 2024 - 14.8K bytes - Viewed (0) -
internal/grid/msg.go
"github.com/zeebo/xxh3" ) // Op is operation type. // //go:generate msgp -unexported -file=$GOFILE //go:generate stringer -type=Op -output=msg_string.go -trimprefix=Op $GOFILE // Op is operation type messages. type Op uint8 // HandlerID is the ID for the handler of a specific type. type HandlerID uint8 const ( // OpConnect is a connect request. OpConnect Op = iota + 1
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue Nov 28 19:22:29 UTC 2023 - 7.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/common/attrs_and_constraints.h
// Returns the entry function name for the given tf.XlaCallModule op. Returns // empty string if such attribute does not exist. StringRef GetEntryFunctionName(TF::XlaCallModuleOp op); // Checks whether the given op contains QuantizationTrait::FullyQuantizable. inline bool HasQuantizableTrait(Operation* op) { return op->hasAttrOfType<StringAttr>(kQuantTraitAttrName) && op->getAttrOfType<StringAttr>(kQuantTraitAttrName).getValue().str() ==
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 9.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/cc/constant_fold.cc
SmallVector<Value> ConstantFoldOpIfPossible(Operation* op) { if (!IsOperationFoldable(op)) return op->getResults(); OpBuilder builder(op); SmallVector<Value> results; if (failed(FoldOperation(builder, op, results))) { return op->getResults(); } return results; } LogicalResult ConstantFoldQuantizableOperands::matchAndRewrite( Operation* op, PatternRewriter& rewriter) const {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 17:58:54 UTC 2024 - 5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_op_interfaces.h
// to an instance of an operation (e.g. TensorFlow runtime operation caching), // `op` can be set instead. struct ResourceHandle { ResourceHandle(StringRef container, StringRef name, StringRef device, Operation* op) : container(container), name(name), device(device), op(op) {} bool operator==(const ResourceHandle& rhs) const { return container == rhs.container && name == rhs.name &&
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 03 19:26:14 UTC 2023 - 6.5K bytes - Viewed (0) -
tensorflow/cc/gradients/math_grad.cc
return BinaryGradCommon(scope, op, grad_outputs, gx_1, gx_2); } Status MaximumGrad(const Scope& scope, const Operation& op, const std::vector<Output>& grad_inputs, std::vector<Output>* grad_outputs) { auto comparator = GreaterEqual(scope, op.input(0), op.input(1)); return MaximumMinimumGradCommon(scope, op, grad_inputs, grad_outputs,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Aug 25 18:20:20 UTC 2023 - 50.7K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/rewritePPC64.go
func rewriteValuePPC64(v *Value) bool { switch v.Op { case OpAbs: v.Op = OpPPC64FABS return true case OpAdd16: v.Op = OpPPC64ADD return true case OpAdd32: v.Op = OpPPC64ADD return true case OpAdd32F: v.Op = OpPPC64FADDS return true case OpAdd64: v.Op = OpPPC64ADD return true case OpAdd64F: v.Op = OpPPC64FADD return true case OpAdd8: v.Op = OpPPC64ADD
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 19:02:52 UTC 2024 - 360.2K bytes - Viewed (0)