- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 1,612 for OP (0.06 sec)
-
tensorflow/compiler/mlir/lite/transforms/prepare_quantize_dynamic_range.cc
// quantization. For dynamic range quantizable ops, it refers to the op // specification for checking the support. For custom ops, it checks the // provided map. bool hasInt8QuantizableOperandAt(Operation* op, int operand_index) const { if (visited_nonquantizable_ops_->contains(op)) { return false; } if (auto custom_op = llvm::dyn_cast_or_null<CustomOp>(op)) { std::string op_name = custom_op.getCustomCode().str();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 20.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/fold_broadcast.cc
return true; }; return RewriteOp(op, rewriter, get_broadcasted_shape); } template <typename Op> LogicalResult ConvertResultsBroadcastableShapeOp::RewriteEqOp( Operation* op, PatternRewriter& rewriter) const { auto eq_op = llvm::dyn_cast_or_null<Op>(op); if (eq_op && eq_op.getIncompatibleShapeError()) return RewriteOp(op, rewriter, OpTrait::util::getBroadcastedShape); return failure();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 7.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/tpu_metadata_utils.cc
tensorflow::tpu::TPUCompileMetadataProto* metadata) { auto input_shardings = op->getAttrOfType<ArrayAttr>(tensorflow::kInputShardingAttr); if (!input_shardings) return op.emitOpError( CreateMissingAttributeMsg(tensorflow::kInputShardingAttr)); if (input_shardings.size() != op.getNumOperands()) return op.emitOpError( llvm::formatv(kBadArrayAttrLengthMsg, tensorflow::kInputShardingAttr,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 10.3K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/arch/x86/x86asm/gnu.go
switch inst.Op { case FDIV: inst.Op = FDIVR case FDIVR: inst.Op = FDIV case FSUB: inst.Op = FSUBR case FSUBR: inst.Op = FSUB case FDIVP: inst.Op = FDIVRP case FDIVRP: inst.Op = FDIVP case FSUBP: inst.Op = FSUBRP case FSUBRP: inst.Op = FSUBP } } case MOVNTSD:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 21.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/ir/tfl_ops.cc
mlir::LogicalResult ReshapeOp::verify() { ReshapeOp op = *this; auto error_handler = [&op](const llvm::Twine& message) -> LogicalResult { return op.emitOpError() << message; }; TensorType expected_ty; if (failed(GetReshapeOutputType(op.getInput(), op.getShape(), error_handler, expected_ty))) return failure(); auto output_ty = op.getType().dyn_cast<RankedTensorType>();
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/tf2xla/internal/passes/mark_ops_for_outside_compilation.cc
if (op.getDialect() != tf_dialect) return true; // Assert has a legalization that later removes it so we don't want to outside // compile it ever for performance reasons. if (llvm::isa<mlir::TF::AssertOp>(op)) return true; if (HasStringOperand(op)) return false; if (HasStringResult(op)) return false; if (MatchesPattern(op, supported_ops)) return true; auto abstractOp = op.getRegisteredInfo();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 21.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf_patterns.td
// conversion, use the first input to get inputs rank. Other inputs need not be // ranked. // Defining op for `axis` is TensorFlow constant op in the pattern as during // the conversion, original Concat op operands still refers to the old ops even // if HLO constant op is introduced as an replacement for the TensorFlow // Constant op. def : Pat<(TF_ConcatV2Op $inputs, (ConstantLikeMatcher OneElementAttr:$axis)),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon May 06 18:46:23 UTC 2024 - 34.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/nchw_convolution_to_nhwc.cc
op.getLoc(), /*resultType0=*/new_conv_output_tensor_type, /*lhs=*/input_transpose_op, /*rhs=*/filter_transpose_op, /*window_strides=*/op.getWindowStridesAttr(), /*padding=*/op.getPaddingAttr(), /*lhs_dilation=*/op.getLhsDilationAttr(), /*rhs_dilation=*/op.getRhsDilationAttr(), /*window_reversal=*/op.getWindowReversalAttr(),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 8.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tfg-to-tfe.cc
block.walk([&](Operation *op) { if (op->getName().getStringRef() != "tfg.NextIteration") return; mlir::OpBuilder builder(op); llvm::SmallVector<Value, 2> new_operands; FilterOutBlockArgControlDep(op->getOperands().drop_front(), new_operands); auto source_op = builder.create<tf_executor::NextIterationSourceOp>( op->getLoc(), op->getOperand(0).getType());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 17:58:54 UTC 2024 - 21.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfr/passes/decompose.cc
builder.create<ConstOp>(op->getLoc(), output_type, attribute); } else { attr_cst = builder.create<mlir::arith::ConstantOp>( op->getLoc(), cast<TypedAttr>(attribute)); } new_operands.push_back(attr_cst); } } // Create the TFR call op auto new_op = builder.create<CallOp>( op->getLoc(), compose_func_type.getResults(),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 14.6K bytes - Viewed (0)