- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 522 for OP (0.06 sec)
-
tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/embedding_program_key.cc
llvm::DenseSet<Block*> blocks; Operation* op = bottom; while (op && op != top) { blocks.insert(op->getBlock()); op = op->getParentOp(); } return blocks; } // For a given value defined somewhere underneath `target_blocks`, get the // result that's emitted through the op(s) that wrap it, in one of the // `target_blocks`.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 17.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/utils/tf_to_uniform_attribute_utils.cc
return failure(); } element_type = getElementTypeOrSelf(op->getOperand(1).getType()); } if (attr == "output_quantization") { if (op->getNumResults() < 1) { return failure(); } element_type = getElementTypeOrSelf(op->getOpResult(0).getType()); } if (element_type) { is_8_bit = mlir::isa<TF::Qint8Type>(element_type); return success(); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 18.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/quantization/quantization_context.h
return states_[operand_states_[{op, index}]]; } // Returns the state of the index-th result of the op. QuantState &GetResultQuantState(Operation *op, int index) { return states_[result_states_[{op, index}]]; } // Returns the state of the index-th operand of the op. RequantizeState &GetOperandRequantizeState(Operation *op, int index) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 08 01:38:03 UTC 2024 - 9.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_saved_model.cc
} auto arg_type = cast<func::FuncOp>(op).getArgument(arg_index).getType(); return VerifyBoundInputArgType(op, arg_type, symbol_op); } if (named_attr.getName() == kTfSavedModelIndexPathAttr) { return VerifyIndexPath(op, named_attr); } return op->emitError() << "unknown tf_saved_model dialect arg attribute '" << named_attr.getName().getValue() << "'"; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 23.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/layout_optimization.cc
// `op`, and bypass all result transposes. Location loc = op->getLoc(); // Move constant op defining result permutation to the beginning of the block. permutation_op.getOperation()->moveBefore(&op->getBlock()->front()); // Bypass Transpose nodes for all results. for (OpResult result : op->getResults()) { result.setType(
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/tensorflow/ir/tf_traits.h
if (argumentOp && op->getName() == argumentOp->getName()) { // Replace the outer operation output with the inner operation. return op->getOperand(0); } } else if (op->getOperand(0) == op->getOperand(1)) { return op->getOperand(0); } return {}; } inline LogicalResult verifyIsInvolution(Operation* op) { // TODO(b/246518997): Add back check for no side effects on operation.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 12.7K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/rewriteARM64latelower.go
// result: x for { x := v_0 if x.Op != OpARM64Equal { break } v.copyOf(x) return true } // match: (MOVBUreg x:(NotEqual _)) // result: x for { x := v_0 if x.Op != OpARM64NotEqual { break } v.copyOf(x) return true } // match: (MOVBUreg x:(LessThan _)) // result: x for { x := v_0 if x.Op != OpARM64LessThan { break }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 12 19:38:41 UTC 2024 - 19.3K bytes - Viewed (0) -
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/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) -
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)