- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 112 for atTerminator (0.15 sec)
-
tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/tpu_merge_variables_with_execute.cc
old_region_results[i].replaceAllUsesWith(new_parallel_execute_op->getResult( var_access_info.old_to_new_output_mapping[i] + num_results_before_region)); } // Replace original terminator with new terminator for returning merged // execute results. Operation* old_terminator = execute_region->front().getTerminator(); builder->setInsertionPointToEnd(&execute_region->front());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 29 17:52:11 UTC 2024 - 27K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/internal/passes/tpu_cluster_formation.cc
} // Collects results and associated types of the cluster that are used outside of // the cluster. These results and types are used to create the clusters // `tf_device.cluster` and associated terminator. Results that have no uses // outside of the cluster (i.e. results of ops in the cluster are only consumed // by other ops in the cluster) are pruned. llvm::SmallVector<Value, 8> CollectClusterResults(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 22:03:30 UTC 2024 - 39.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/quantization_patterns.h
// If it is requantize op, we shouldn't rewrite this op. if (isa<QuantizeOpT, DequantizeOpT>(candidate_op)) { return failure(); } // If the op is terminator, we shouldn't rewrite. if (candidate_op->hasTrait<OpTrait::IsTerminator>()) { return failure(); } if (!IsOpQuantizableStableHlo(candidate_op)) { return failure(); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 10.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/common/ir/QuantOps.td
let results = (outs Variadic<AnyType>:$outputs); let regions = (region SizedRegion<1>:$body); let hasVerifier = 1; } def Quantization_ReturnOp : Quantization_Op<"return", [Terminator]> { let summary = [{ The `return` operation terminates a quantize region and returns values. }]; let arguments = (ins Variadic<AnyTensor>:$results); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jan 09 03:10:59 UTC 2024 - 10.2K bytes - Viewed (0) -
src/compress/gzip/gunzip.go
} z.buf[i], err = z.r.ReadByte() if err != nil { return "", err } if z.buf[i] > 0x7f { needConv = true } if z.buf[i] == 0 { // Digest covers the NUL terminator. z.digest = crc32.Update(z.digest, crc32.IEEETable, z.buf[:i+1]) // Strings are ISO 8859-1, Latin-1 (RFC 1952, section 2.3.1). if needConv { s := make([]rune, 0, i) for _, v := range z.buf[:i] {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 13 23:20:03 UTC 2023 - 8.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/quantization/ir/QuantOps.td
let results = (outs Variadic<AnyType>:$outputs); let regions = (region SizedRegion<1>:$body); let hasVerifier = 1; } def quantfork_ReturnOp : quantfork_Op<"return", [Terminator]> { let summary = [{ The `return` operation terminates a quantize region and returns values. }]; let arguments = (ins Variadic<AnyTensor>:$results); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Oct 13 12:46:08 UTC 2022 - 10.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/functional_control_flow_to_cfg.cc
auto get_else_result = [&](int i) { return call_op->getResult(i); }; JumpToBlock(loc, get_else_result, merge_block, &builder); // Now that we have the then and else blocks, replace the terminator of the // orig_block with a conditional branch. builder.setInsertionPointToEnd(orig_block); builder.create<cf::CondBranchOp>(loc, cond_i1, then_block,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Jan 13 11:42:59 UTC 2023 - 12.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfrt/ir/mlrt/tf_mlrt_ops.td
let arguments = (ins MlrtPromiseType:$promise, MlrtFutureType:$tensor ); let assemblyFormat = "operands attr-dict"; } def PromiseReturnOp: TensorflowMlrt_Op<"promise_return", [Terminator]> { let summary = "Set a tensor in a promise and return from a function with no output"; let description = [{ Set a tensor in a promise and return from a function with no output.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 31 20:44:15 UTC 2024 - 13.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/cluster_tf_ops_pass.cc
if (StringAttr attr = defining_op->getAttrOfType<StringAttr>(kDeviceAttr)) { value_device = attr.getValue().str(); } // If the value is used as an operand of the terminator op, adds it to // the result list of function that defines this op. if (op->hasTrait<OpTrait::IsTerminator>()) { if (llvm::find(defining_func_metadata.results, value) ==
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 13.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/replace_stablehlo_ops_in_main_function_with_xla_call_module_ops.cc
LiveOuts liveouts(result_values); // Copy ops to iterate because we will be modifying the block during // iteration. The ordering should be reversed because liveness analysis is a // bottom-up analysis. The terminator is not included because the return // statement is not included in any subgraph (e.g. XlaCallModuleOp) and is // untouched. SmallVector<Operation*> reverse_main_func_block_ops; SetVector<Operation*> ops_to_add;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 21K bytes - Viewed (0)