- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 129 for getFlow (0.14 sec)
-
tensorflow/compiler/mlir/lite/transforms/reduce_type_precision.cc
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/tensorflow/transforms/hoist_replicate_invariant_resource_writes.cc
} OpBuilder builder(replicate_op); // Clone this old replicate op but with new result types. auto new_replicate_op = builder.create<tf_device::ReplicateOp>( replicate_op->getLoc(), new_result_types, replicate_op->getOperands(), replicate_op->getAttrs()); // Move region to the new op. new_replicate_op.getRegion().takeBody(replicate_op.getRegion());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Nov 03 12:35:38 UTC 2022 - 5.8K bytes - Viewed (0) -
maven-core/src/test/java/org/apache/maven/toolchain/DefaultToolchainTest.java
} @Test void testGetLogger() { ToolchainModel model = new ToolchainModel(); DefaultToolchain toolchain = newDefaultToolchain(model); assertEquals(logger, toolchain.getLog()); } @Test void testMissingRequirementProperty() { ToolchainModel model = new ToolchainModel(); model.setType("TYPE"); DefaultToolchain toolchain = newDefaultToolchain(model);
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Fri Sep 22 09:07:17 UTC 2023 - 4.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/raise_custom_ops.cc
(target_op_names.empty() && !op->isRegistered())) { custom_ops.push_back(op); } }); for (auto *op : custom_ops) { builder.setInsertionPoint(op); Location loc = op->getLoc(); auto custom_op = builder.create<CustomTfOp>(loc, op->getResultTypes(), op->getOperands()); Region region; Block *new_block = new Block;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Mar 17 07:31:01 UTC 2023 - 4.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/cc/constant_fold.cc
return failure(); } results.clear(); builder.setInsertionPointAfter(op); for (const auto& result_value : result_values) { results.push_back(builder.create<TF::ConstOp>(op->getLoc(), result_value)); } return success(); } bool IsOperationFoldable(Operation* op) { if (isa<TF::ConstOp>(op)) return true; if (op->getDialect()->getNamespace() != "tf" || !TF::CanBeFolded(op)) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 17:58:54 UTC 2024 - 5K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/m5/ToolingApiReceivingStandardStreamsCrossVersionSpec.groovy
System.err.println 'this is stderr' def slf4jLogger = org.slf4j.LoggerFactory.getLogger('some-logger') slf4jLogger.warn('A warning using SLF4j') def jclLogger = org.apache.commons.logging.LogFactory.getLog('some-logger') jclLogger.warn('A warning using JCL') def log4jLogger = org.apache.log4j.Logger.getLogger('some-logger') log4jLogger.warn('A warning using Log4j')
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 4.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/xla_rewrite_util_test.cc
std::string device = "/job:localhost/replica:0/task:0/device:CPU:0"; module->walk( [&](mlir::tf_device::ClusterOp descendant) { cluster = descendant; }); mlir::OpBuilder builder(&context); auto loc = cluster->getLoc(); // Wrap the cluster op into a Launch op auto launch_op = tensorflow::WrapOpInLaunch(&builder, loc, cluster, device); EXPECT_TRUE(llvm::isa<mlir::tf_device::LaunchOp>(launch_op)); launch_op->erase();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Apr 26 09:37:10 UTC 2024 - 4.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/decompose_hybrid_quantization.cc
// This occurs when doing qi16 convolution, as bias is passed as a // non-quantized int64 if (allTypesFp || allTypesQuantizedOrInt) return failure(); Location loc = op->getLoc(); SmallVector<Value> newOperands; newOperands.reserve(op->getNumOperands()); for (auto operand : op->getOperands()) { if (QuantizedType::getQuantizedElementType(operand.getType())) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 5.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/guarantee_all_funcs_one_use.cc
"one use for all functions. Functions in the " "recursive cycle are: "; llvm::interleaveComma(*scci, err, [&](CallGraphNode *node) { err << node->getCallableRegion()->getLoc(); }); return err; } } return success(); } #define GEN_PASS_DEF_GUARANTEEALLFUNCSONEUSEPASS #include "tensorflow/compiler/mlir/tensorflow/transforms/tf_passes.h.inc"
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Oct 05 23:50:19 UTC 2022 - 4.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/convert_custom_aggregation_op_to_quant_stats.cc
static_cast<float>(max.getValueAsDouble())}); ElementsAttr axis_stats; IntegerAttr axis; quantfork::StatisticsOp stats_op = rewriter.create<quantfork::StatisticsOp>( op->getLoc(), op.getInput(), layer_stats, axis_stats, axis); op.getOutput().replaceAllUsesWith(stats_op.getResult()); return success(); } }; static PassRegistration<ConvertCustomAggregationOpToQuantStatsPass> pass;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 4.8K bytes - Viewed (0)