- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 65 for GetBody (0.12 sec)
-
tensorflow/compiler/mlir/tensorflow/analysis/resource_alias_analysis.cc
return it->second; } // Returns backtracking analysis for the given function. const InfoT& GetAnalysisForFunc(func::FuncOp func) const { return GetAnalysisForRegion(func.getBody()); } // Backtracks the given value. Value BacktrackValue(Value value); private: // Returns the analysis for the given region (analyzing the region if it has // not yet been analyzed).
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 15 09:04:13 UTC 2024 - 28.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/internal/passes/mark_ops_for_outside_compilation.cc
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 21.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/functional_control_flow_to_regions.cc
Value i1_cond = ConvertConditionToBoolean(cond_yield, cond_yield.getOperand(0)); cond_yield.setOperand(0, i1_cond); CreateCall(while_op, while_op.body_function(), /*caller_region=*/while_region.getBody(), while_op.getInput(), /*use_region_args=*/true, /*forward_block_args=*/false); while_op.replaceAllUsesWith(while_region.getResults()); while_op.erase(); return success(); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 11K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/quantization_patterns.cc
// Add i32 -> i8 requantization. UniformQuantizeOp uniform_quant_op = rewriter.create<UniformQuantizeOp>( op.getLoc(), func_result_type, op.getResults()); cast<func::ReturnOp>(entry_func_op.getBody().front().getTerminator()) .setOperand(0, uniform_quant_op); } template <typename GemmStyleOp> // Creates a quantized bias pattern for static and dynamic shape case
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 03 06:04:36 UTC 2024 - 41.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/it/CrawlTestBase.java
final String schedulerId = getSchedulerIds(namePrefix).get(0); final Response response = checkMethodBase(requestBody).post("/api/admin/scheduler/" + schedulerId + "/start"); if (response.getBody().jsonPath().getInt("response.status") == 0) { logger.info("Start scheduler \"{}\"", schedulerId); return; } ThreadUtil.sleep(1000L); }
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 9.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/common/attrs_and_constraints.h
ArrayRef<int64_t> int64_array); // Returns the first operation with the given type in the function. template <typename OpType> OpType FindOperationOfType(func::FuncOp function) { for (auto op : function.getBody().getOps<OpType>()) { return op; } return nullptr; } // Returns the first user of the given operation, optionally of the given // type if provided. If there is no user or user of type, return nullptr.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 9.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/transforms/tf2xla_rewriter_test.cc
EXPECT_TRUE(main_func); return main_func; } mlir::Operation& GetFirstOpFromMain() { mlir::func::FuncOp main_func = GetMainFunc(); return main_func.getBody().front().front(); } absl::StatusOr<TupleOp> ImportXlaComputationIntoModule( XlaComputation& computation) { SourceMgrDiagnosticHandler sourceMgrHandler(source_manager_, &context_);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 09:16:07 UTC 2024 - 11.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/embedding_sequencing.cc
// Replace the 'inputs' values with the new function's arguments. for (auto p : llvm::zip(inputs, new_func.getArguments())) replaceAllUsesInRegionWith(std::get<0>(p), std::get<1>(p), new_func.getBody()); builder.setInsertionPointToEnd(block); builder.create<func::ReturnOp>(parent_func.getLoc(), outputs.getArrayRef()); // Replace the original 'outputs' values with the result of the call to the
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 39.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/c/c_api_unified_experimental_mlir.cc
// TODO(b/173073199): Use shape. Enable tests in unified_api_test.cc once // resolved. Type type; TF_RETURN_IF_ERROR(ConvertDataTypeToTensor(dtype, builder_, &type)); *handle = new MlirTensor(func_.getBody().front().addArgument(type, func_.getLoc())); return absl::OkStatus(); } Status MlirAbstractOp::AddInput(AbstractTensorHandle* input) { if (current_ods_input_ >= op_def_->input_arg_size())
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 28.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf_communication.cc
// Move all regions from the old `mhlo.while` op to its replacement. new_while.getCond().takeBody(region_while.getCond()); new_while.getBody().takeBody(region_while.getBody()); // Forward result from old `mhlo.while` with replacement. SmallVector<Value> old_while_results = region_while.getResults(); SmallVector<Value> new_while_results = new_while.getResults();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 40.5K bytes - Viewed (0)