- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 126 for getFlow (0.13 sec)
-
tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo_conversions/custom_call.cc
LogicalResult ConvertCustomCallOp::matchAndRewrite( mhlo::CustomCallOp mhlo_custom_call, OpAdaptor adaptor, ConversionPatternRewriter& rewriter) const { auto tfl_custom = rewriter.create<TFL::CustomOp>( mhlo_custom_call.getLoc(), mhlo_custom_call.getResultTypes(), mhlo_custom_call.getInputs()); tfl_custom.setCustomCodeAttr( rewriter.getStringAttr(mhlo_custom_call.getCallTargetName()));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 2.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_ops_canonicalization_helper.h
// another TF op. // TODO(jpienaar): This is a workaround until behavior is established. template <typename OpTy, typename... Args> OpTy CreateTfOp(RewriterBase &b, Operation *op, Args &&...args) { auto ret = b.create<OpTy>(op->getLoc(), std::forward<Args>(args)...); CopyDeviceAndUnderscoredAttributes(op, ret.getOperation()); return ret; } // Helper function to replace TF op with another op while copying all underscore
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Nov 12 21:57:12 UTC 2021 - 2.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/transforms/tfxla_device_specific_transforms.cc
tensorflow::Algorithm tensorflow_rng = tensorflow::ToTensorflowAlgorithm(xla_rng); OpBuilder opbuilder(get_alg_op); auto tf_const = opbuilder.create<TF::ConstOp>( get_alg_op->getLoc(), opbuilder.getI32IntegerAttr((int)tensorflow_rng)); get_alg_op->replaceAllUsesWith(tf_const); get_alg_op->erase(); return success(); } void TFXLADeviceSpecificTransforms::runOnOperation() {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Mar 03 05:56:39 UTC 2023 - 3.1K bytes - Viewed (0) -
maven-plugin-api/src/main/java/org/apache/maven/plugin/AbstractMojo.java
* method directly whenever you need the logger, it is fast enough and needs no caching. * * @see org.apache.maven.plugin.Mojo#getLog() * @deprecated Use SLF4J directly */ @Deprecated @Override public Log getLog() { if (log == null) { log = new SystemStreamLog(); } return log; } @Override
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Wed Sep 06 08:39:32 UTC 2023 - 7.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/experimental/common/outline_operations.cc
for (Value result : subgraph.FuncOutputs()) { Value cloned_output = values_in_scope.lookup(result); return_operands.push_back(cloned_output); } function_builder.create<mlir::func::ReturnOp>(new_func.getLoc(), return_operands); ops_added.func_op = new_func; module.push_back(new_func); return new_func; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 8.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/insert_quantized_functions.cc
std::unique_ptr<llvm::MemoryBuffer> mem_buffer; llvm::StringRef quantized_function_library = GetFunctionLibrary(quantization_method_, op_set_); if (quantized_function_library.empty()) { emitError(module.getLoc()) << "Failed to get function library for the opset."; signalPassFailure(); return; } mem_buffer = llvm::MemoryBuffer::getMemBuffer(quantized_function_library,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Mar 22 05:52:39 UTC 2024 - 8.7K bytes - Viewed (0) -
maven-plugin-api/src/main/java/org/apache/maven/plugin/Mojo.java
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Wed Sep 06 08:39:32 UTC 2023 - 2.9K bytes - Viewed (0) -
src/main/java/org/codelibs/core/log/JclLoggerAdapter.java
protected final String sourceClass; protected final Log logger; public JclLoggerAdapter(final Class<?> clazz) { sourceClass = clazz.getName(); logger = LogFactory.getLog(clazz); } @Override public boolean isFatalEnabled() { return logger.isFatalEnabled(); } @Override public void fatal(final String message) { logger.fatal(message);
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 2.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/python/mlir_wrapper/basic_classes.cc
py::return_value_policy::reference) .def("end", &mlir::Block::end) .def("addArgument", [](mlir::Block& block, mlir::Type type) { return block.addArgument(type, block.getParent()->getLoc()); }); py::class_<mlir::Value>(m, "Value").def("getType", &mlir::Value::getType); py::class_<mlir::OpResult, mlir::Value>(m, "OpResult"); py::class_<mlir::BlockArgument, mlir::Value>(m, "BlockArgument");
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Jan 22 04:26:07 UTC 2022 - 2.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/visitor.cc
ModuleOp module, llvm::ArrayRef<llvm::StringRef> function_names) { SymbolTableCollection symbol_table; OpBuilder builder(module.getContext()); OwningOpRef<ModuleOp> pruned = builder.create<ModuleOp>(module->getLoc()); (*pruned)->setAttrs(module->getAttrs()); builder.setInsertionPointToEnd(pruned->getBody()); llvm::SmallDenseSet<func::FuncOp> added; for (const llvm::StringRef function_name : function_names) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 19 03:46:51 UTC 2023 - 4.1K bytes - Viewed (0)