- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 3,906 for while_1 (0.46 sec)
-
tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/tfl_while_op.mlir
// CHECK-NEXT: type: INT32, // CHECK-NEXT: buffer: 3, // CHECK-NEXT: name: "WhileOp", // CHECK-NEXT: quantization: { // CHECK-EMPTY: // CHECK-NEXT: }, // CHECK-NEXT: has_rank: true // CHECK-NEXT: }, { // CHECK-NEXT: shape: [ 1 ], // CHECK-NEXT: buffer: 4, // CHECK-NEXT: name: "WhileOp1", // CHECK-NEXT: quantization: { // CHECK-EMPTY: // CHECK-NEXT: },
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jul 14 16:41:28 UTC 2022 - 7.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tensor_array_ops_decomposition.cc
insert(grad.getHandle(), grad.getSource().str(), func_block); } else if (auto while_op = llvm::dyn_cast<TF::WhileOp>(op)) { for (const auto& entry : AccessedGradients( {while_op.body_function(), while_op.cond_function()}, module)) for (const string& source : entry.getSecond()) insert(while_op.getOperand(entry.getFirst()), source, func_block);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Mar 02 20:41:19 UTC 2023 - 40.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/quantize_weights.cc
} else if (auto while_op = llvm::dyn_cast_or_null<TF::WhileOp>(next_op)) { func::FuncOp func = while_op.body_function(); auto func_argument = func.getArgument(next_op_operand_num); // Check if the op is returned without mutation. Returning values // from a while op follow return or identity -> return pattern.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 05 07:39:40 UTC 2024 - 11.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tensor_list_ops_decomposition.cc
return success(); } // Create the new while op. auto new_while_operands = llvm::to_vector<8>(while_op.getOperands()); for (int64_t i = 0; i < while_op.getNumResults(); ++i) { auto it = buffer_to_size->find(while_op.getOperand(i)); if (it == buffer_to_size->end()) continue; new_while_operands.push_back(it->getSecond().size); } auto new_while = builder.create<TF::WhileOp>(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 39.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/analysis/tf_dataflow.h
} else if (auto while_op = dyn_cast<TF::WhileRegionOp>(op)) { for (auto ®ion : while_op->getRegions()) { for (auto [arg, value] : llvm::zip(region.getArguments(), while_op->getOperands())) { this->join(getLatticeElement(arg), *getLatticeElement(value)); } } } else if (auto while_op = dyn_cast<TF::WhileOp>(op)) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Mar 06 23:53:00 UTC 2024 - 3.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/resource_device_inference.cc
// Propagation to callees. auto walk_res = func_op.walk([&](Operation* op) { if (auto while_op = dyn_cast<WhileOp>(op)) { if (failed(propagate_operands_to_callee_arguments( while_op, while_op.getOperands(), {while_op.body_function(), while_op.cond_function()}, func_res))) return WalkResult::interrupt();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Mar 03 03:47:00 UTC 2023 - 13.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/flatbuffer_import.cc
while_op->removeAttr("cond"); auto body = symbol_table.lookup<mlir::func::FuncOp>( while_op->getAttr("body").cast<mlir::FlatSymbolRefAttr>().getValue()); AddCallOpInWhileOpRegion(while_op.getBody(), body); while_op->removeAttr("body"); }); } void AddRegionsForStableHLOOp(mlir::ModuleOp module) { mlir::SymbolTable symbol_table(module);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 21 18:21:50 UTC 2024 - 66.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/tpu_variable_runtime_reformatting.cc
llvm::SmallVector<std::pair<int64_t, llvm::SmallVector<Value, 4>>, 4> AnnotateCompileOpAndGetExecuteArgToWhileArgsMapping( TF::WhileRegionOp while_op, tf_device::ReplicateOp replicate, TF::TPUExecuteAndUpdateVariablesOp execute, tf_device::LaunchOp compile_launch) { Region& body = while_op.getBody(); Region& cond = while_op.getCond(); llvm::SmallVector<std::pair<int64_t, llvm::SmallVector<Value, 4>>, 4> mapping;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 21.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/region_control_flow_to_functional.cc
IsSingleCallRegion(while_region.getBody()), while_arg_matcher); // All existing inputs to while region are inputs to the functional while. auto new_inputs = llvm::to_vector<4>(while_region.getOperands()); // All existing results will also be generated by the functional while. auto new_result_types = llvm::to_vector<4>(while_region.getResultTypes()); std::string cond_name, body_name;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 28.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/analysis/resource_alias_analysis.cc
PropagateInputToOutput(op->getOperand(result.getResultNumber()), result); } else if (auto while_op = dyn_cast<WhileOp>(op)) { AnalyzeWhileLoop(while_op, backtrack_analysis.GetAnalysisForFunc( while_op.body_function())); } else if (auto while_region = dyn_cast<WhileRegionOp>(op)) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 15 09:04:13 UTC 2024 - 28.2K bytes - Viewed (0)