- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 81 for GetBody (0.14 sec)
-
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/lite/stablehlo/transforms/legalize_tf_xla_call_module_to_stablehlo_pass.cc
ArrayRef<Type> new_input_types = function_type.getInputs().take_back(func_op.getNumArguments() - 1); func_op.setFunctionType( FunctionType::get(ctx, new_input_types, function_type.getResults())); func_op.getBody().eraseArgument(0); } } // namespace class ConvertTFXlaCallModuleOp : public OpRewritePattern<TF::XlaCallModuleOp> { public: explicit ConvertTFXlaCallModuleOp(MLIRContext *context, ModuleOp module_op)
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jan 25 09:43:18 UTC 2024 - 10.9K 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/ir/tf_executor_ops.td
dead. }]; let results = (outs Variadic<AnyType>:$results ); let regions = (region SizedRegion<1>:$body); let extraClassDeclaration = [{ Block &GetBody() { return getOperation()->getRegion(0).front(); } FetchOp GetFetch(); }]; let hasCanonicalizer = 1; } def TfExecutor_FetchOp : TfExecutor_Op<"fetch",
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 23 19:35:12 UTC 2023 - 22K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/check_control_dependencies.cc
bool IsIntermediateOp(IslandOp island) { // These two side-effect-free ops are known to be used for control dependency // grouping (e.g., in `BreakUpIslands` pass). return isa<TF::IdentityOp, TF::NoOp>(island.GetBody().front()); } // Finds a path from `source_op` to `target_op` and stores it in `path`, in // reverse order (from target to source). Returns false if no path was found, // true otherwise.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Oct 05 23:50:19 UTC 2022 - 10.2K 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)