- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 345 for setLoc (0.12 sec)
-
tensorflow/compiler/mlir/tensorflow/transforms/add_functions_for_exported_names.cc
other.addEntryBlock(); OpBuilder builder(other.getRegion()); auto call_op = builder.create<mlir::func::CallOp>( f.getLoc(), f.getFunctionType().getResults(), f.getSymName(), other.getRegion().getArguments()); builder.create<mlir::func::ReturnOp>(f.getLoc(), call_op.getResults()); } Unexport(f); } } } // namespace std::unique_ptr<OperationPass<ModuleOp>>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Dec 19 08:06:04 UTC 2023 - 4.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/convert_tf_quant_types.cc
new_operands.push_back(rewriter.create<TF::CastOp>( op->getLoc(), orig_op_type, operands[i])); } else { new_operands.push_back(operands[i]); } } // Create a new UQ op. OperationState state(op->getLoc(), op->getName().getStringRef(), new_operands, op->getResultTypes(), op->getAttrs(),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 12.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tf_saved_model_asset_sinking_pass.cc
builder.create<tf_saved_model::SessionInitializerOp>( module->getLoc(), builder.getArrayAttr(func_names)); // Create AssetOp; this holds the checkpoint_path. // TODO(b/318761632): Cleanup usage of string literals, instead use constants. auto asset_op = builder.create<tf_saved_model::AssetOp>( module->getLoc(), /*sym_name=*/
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 7.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tpu_resource_read_for_write.cc
if (ClusterFuncHasResourceRead(cluster_func, resource_and_type.resource)) continue; auto new_read = builder.create<TF::ReadVariableOp>( resource_and_type.resource.getLoc(), resource_and_type.subtype, resource_and_type.resource); read_operands.push_back(new_read.getValue()); } if (read_operands.empty()) continue;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 16:54:40 UTC 2024 - 5.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/defer_activation_transpose.cc
// The Location is set as `input`'s loc. TransposeOp CreateTransposeOp(Value input, const ArrayRef<int64_t> permutation, PatternRewriter& rewriter) { return rewriter.create<TransposeOp>( input.getLoc(), input, rewriter.getDenseI64ArrayAttr(permutation)); } // Defers the transpose of the left-hand side (LHS) to the right-hand side and // the result of a binary operation. In detail, this rewrites the
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 11.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/localize_var_handles.cc
// See core/kernels/data/iterator_ops.cc.) resource_op = builder.create<TF::IteratorOp>( op->getLoc(), resource.getType(), shared_name, container, it.getOutputTypes(), it.getOutputShapes()); } else { resource_op = builder.create<TF::VarHandleOp>( op->getLoc(), resource.getType(), container, shared_name); } op->setOperand(0, resource_op->getResult(0)); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Mar 06 23:53:00 UTC 2024 - 5K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/convert_xla_call_module_op_to_bfloat16.cc
builder.setInsertionPoint(op); for (auto& op_operand : op->getOpOperands()) { if (IsLargeFloatType(op_operand.get().getType())) { op_operand.set(builder.create<TF::CastOp>( op->getLoc(), ToBfloat16Type(op_operand.get().getType()), op_operand.get())); } } builder.setInsertionPointAfter(op); for (auto op_result : op->getOpResults()) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 05 08:32:43 UTC 2024 - 5.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/internal/passes/extract_head_tail_outside_compilation.cc
auto launch = builder->create<mlir::tf_device::LaunchOp>( op->getLoc(), builder->getStringAttr(host_device), launch_result_types); launch.getBody().push_back(launch_block); builder->setInsertionPointToEnd(&launch.GetBody()); builder->create<mlir::tf_device::ReturnOp>(op->getLoc(), launch_results); return launch; } // Checks if an operation is a supported TPU embedding op.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 20.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/internal/passes/xla_cluster_formation.cc
auto cluster = builder.create<mlir::tf_device::ClusterOp>( call_op->getLoc(), call_op->getResultTypes()); cluster.getBody().push_back(new Block); call_op->replaceAllUsesWith(cluster.getResults()); call_op->moveBefore(&cluster.GetBody(), cluster.GetBody().end()); builder.setInsertionPointToEnd(&cluster.GetBody()); builder.create<mlir::tf_device::ReturnOp>(call_op->getLoc(), call_op->getResults());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Dec 19 19:09:44 UTC 2023 - 6K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/processor/impl/SitemapsResponseProcessor.java
for (final Sitemap sitemap : sitemapSet.getSitemaps()) { if (sitemap != null) { requestDataSet.add(RequestDataBuilder.newRequestData().get().url(sitemap.getLoc()).build()); } } throw new ChildUrlsException(requestDataSet, this.getClass().getName() + "#process"); } catch (final IOException e) {
Registered: Wed Jun 12 15:17:51 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 2.3K bytes - Viewed (0)