- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 81 for GetBody (0.18 sec)
-
tensorflow/compiler/mlir/quantization/common/lift_as_function_call.cc
wrap_func->setAttr(TF::kFromXlaCallModuleAttrName, builder.getUnitAttr()); } wrap_func->setAttr(kFusedFunctionAttr, builder.getUnitAttr()); builder.createBlock(&wrap_func.getBody(), wrap_func.begin(), arg_types, arg_locs); IRMapping mapping; for (int32_t i : llvm::seq<int32_t>(0, arguments.size())) { mapping.map(arguments[i], wrap_func.getArgument(i)); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 17:58:54 UTC 2024 - 21.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/resource_op_lifting_cleanup.cc
// the body, the result is replaced with the operand and all argument/results // and retuns values corresponding to that result are dropped. LogicalResult CanonicalizeWhileRegion(TF::WhileRegionOp op) { Region &body = op.getBody(); Region &cond = op.getCond(); llvm::BitVector can_eliminate(op.getNumResults()); // Traverse in reverse order so that indices to be deleted stay unchanged.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 19.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/merge_control_flow.cc
old_if_region.erase(); } } void MergeControlFlowPass::runOnOperation() { ModuleOp module = getOperation(); auto result = module.walk([&](tf_device::ClusterOp cluster) { OptimizeIfRegions(&cluster.GetBody(), module); return WalkResult::advance(); }); if (result.wasInterrupted()) return signalPassFailure(); } } // namespace std::unique_ptr<OperationPass<ModuleOp>> CreateMergeControlFlowPass() {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Mar 17 07:31:01 UTC 2023 - 25.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tpu_space_to_depth_pass.cc
// not on the host.) if (input.index() != arg_num) continue; auto input_op = input.value().getDefiningOp(); if (maybe_replicate && maybe_replicate.getBody().isAncestor(input_op->getParentRegion())) { continue; } if (!IsSupportedHostInputOp(input_op)) continue; auto ranked_type = mlir::dyn_cast<RankedTensorType>(input.value().getType());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 29.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfr/ir/tfr_ops.cc
// Return the held attribute value. return getValue(); } // CallableOpInterface Region *TFRFuncOp::getCallableRegion() { return isExternal() ? nullptr : &getBody().front(); } //===----------------------------------------------------------------------===// // Dialect type definitions //===----------------------------------------------------------------------===//
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Nov 21 16:55:41 UTC 2023 - 38.2K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/KotlinSourceModernTest.kt
mockResponse.headers = headersOf() mockResponse.trailers = headersOf() mockResponse = mockResponse.removeHeader("") var body: Buffer? = mockResponse.getBody() mockResponse = mockResponse.setBody(Buffer()) mockResponse = mockResponse.setChunkedBody(Buffer(), 0) mockResponse = mockResponse.setChunkedBody("", 0) var socketPolicy: SocketPolicy = mockResponse.socketPolicy
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Apr 01 14:21:25 UTC 2024 - 46.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/api/v1/compile_mlir_util.cc
mlir::func::FuncOp main_fn = module_op.lookupSymbol<mlir::func::FuncOp>("main"); std::vector<int> params; bool has_resource_args = false; auto builder = mlir::OpBuilder(main_fn.getBody()); std::vector<int> args_to_erase; for (int idx = 0; idx < args.size(); idx++) { const XlaArgument& xla_arg = args[idx]; mlir::BlockArgument mlir_arg = main_fn.getArgument(idx);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 21 17:24:39 UTC 2024 - 45.3K bytes - Viewed (0) -
docs/pl/docs/features.md
* Automatyczna dokumentacja modelu danych za pomocą <a href="https://json-schema.org/" class="external-link"...
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Apr 18 19:53:19 UTC 2024 - 10.9K bytes - Viewed (0) -
src/net/http/requestwrite_test.go
for i := range reqWriteTests { tt := &reqWriteTests[i] setBody := func() { if tt.Body == nil { return } switch b := tt.Body.(type) { case []byte: tt.Req.Body = io.NopCloser(bytes.NewReader(b)) case func() io.ReadCloser: tt.Req.Body = b() } } setBody() if tt.Req.Header == nil { tt.Req.Header = make(Header) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 07 01:07:32 UTC 2022 - 23.3K bytes - Viewed (0) -
docs/pl/docs/tutorial/first-steps.md
* `@app.put()` * `@app.delete()` Oraz tych bardziej egzotycznych: * `@app.options()` * `@app.head()` * `@app.patch()` * `@app.trace()` !!! tip Możesz dowolnie używać każdej operacji (metody HTTP). **FastAPI** nie narzuca żadnego konkretnego znaczenia. Informacje tutaj są przedstawione jako wskazówka, a nie wymóg.
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Apr 18 19:53:19 UTC 2024 - 9.8K bytes - Viewed (0)