- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 129 for getFlow (2.52 sec)
-
tensorflow/compiler/mlir/tensorflow/transforms/tpu_colocate_composite_resource_ops.cc
const auto composite_resource_users = GetResourceOpsUsingCompositeArgsInReplicate(replicate_op); for (auto resource_user : composite_resource_users) { WrapOpInLaunch(builder, resource_user->getLoc(), resource_user, tensorflow::GetDeviceAliasForLogicalCore(0)); } } void TPUColocateCompositeResourceOps::runOnOperation() {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Oct 16 17:41:12 UTC 2023 - 5.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/unwrap_xla_call_module_op.cc
if (call_op_has_platform_index_arg) { arg_mapper.map(func_op.getArgument(0), builder.create<mhlo::ConstantOp>( func_op.getLoc(), builder.getI16IntegerAttr(0))); } for (auto [func_arg, operand] : llvm::zip_equal( func_op.getArguments().take_back(call_op.getNumOperands()), call_op.getOperands())) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 05 07:39:40 UTC 2024 - 4.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/legalize_jax_random.cc
if (result_tuple_ty.size() != 1) return; auto result_ty = mlir::dyn_cast<ShapedType>(result_tuple_ty.getType(0)); func.eraseBody(); func.addEntryBlock(); ImplicitLocOpBuilder builder(func.getLoc(), func.getBody()); llvm::SmallVector<int32_t> result_shape_i32; auto result_shape = result_ty.getShape(); for (auto element : result_shape) { result_shape_i32.push_back(static_cast<int32_t>(element)); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 5.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/gpu_fusion.cc
if (batch_norm.getIsTraining()) return failure(); if (!batch_norm.getY().hasOneUse()) return failure(); // Build the newly fused operation to replace the batch norm OperationState state(batch_norm.getLoc(), _FusedBatchNormExOp::getOperationName()); state.addOperands(batch_norm.getOperands()); if (side_input) state.operands.push_back(side_input); state.addTypes(batch_norm.getResultTypes());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Nov 03 12:35:38 UTC 2022 - 5.2K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/SitemapUrl.java
* your site is not likely to help you. Since the priority is relative, it * is only used to select between URLs on your site. */ private String priority; @Override public String getLoc() { return loc; } public void setLoc(final String loc) { this.loc = loc; } @Override public String getLastmod() { return lastmod; }
Registered: Wed Jun 12 15:17:51 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 4.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/utils/utils.td
include "mlir/IR/OpBase.td" include "mlir/Dialect/Func/IR/FuncOps.td" include "mlir/IR/PatternBase.td" def CreateNoneValue : NativeCodeCall< "$_builder.create<TFL::NoValueOp>($0.getLoc(), $_builder.getUnitAttr())">; // Returns shape of a ranked tensor. // if called without a ranked tensor it will fail. def GetShape: NativeCodeCall<"GetShape($0)">;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 30 00:40:15 UTC 2024 - 4.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/insert_calibration_statistics_saver.cc
ArrayAttr ids_attr = builder.getStrArrayAttr(ids); ArrayAttr calibration_methods_attr = builder.getI32ArrayAttr(calibration_methods); builder.create<TF::CalibrationStatisticsSaverOp>( region.getLoc(), statistics_outputs, output_file_path_attr, ids_attr, calibration_methods_attr); return success(); } // Returns true if the op contains a `CalibrationStatisticsSaverOp`.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 14 06:31:57 UTC 2024 - 7.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/experimental/tac/transforms/fold_constants_to_subgraph.cc
"Expect QConst or Const op."); OpBuilder builder(func.getBody()); auto cloned_const_op = const_op->clone(); cloned_const_op->setLoc(func.getBody().getLoc()); builder.insert(cloned_const_op); // Rewire the usage. func.getArgument(argument_index) .replaceAllUsesWith(cloned_const_op->getResult(0)); } bool IsConstOrQConstInt(Operation* op) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 6.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tpu_parallel_execute_sink_resource_write.cc
new_result_types.push_back(old_result.getType()); OpBuilder builder(parallel_execute); auto new_parallel_execute = builder.create<tf_device::ParallelExecuteOp>( parallel_execute.getLoc(), num_regions, new_result_types); for (auto region : llvm::zip(new_parallel_execute.getRegions(), parallel_execute.getRegions())) std::get<0>(region).takeBody(std::get<1>(region));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Dec 06 04:46:18 UTC 2022 - 6.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tpu_update_embedding_enqueue_op_inputs.cc
mode_string_value.emplace_back(is_training ? "train" : "inference"); builder->setInsertionPoint(embedding_op); auto enqueue_mode = builder->create<TF::ConstOp>( embedding_op->getLoc(), DenseStringElementsAttr::get( RankedTensorType::get({}, builder->getType<TF::StringType>()), mode_string_value)); auto outside_compilation_attr =
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Oct 05 23:50:19 UTC 2022 - 7.7K bytes - Viewed (0)