Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 81 for GetBody (0.11 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/prepare_tpu_computation_for_tf_export.cc

            std::get<0>(result).replaceAllUsesWith(std::get<1>(result));
          }
    
          rewriter.setInsertionPoint(cloned_func.getBody().front().getTerminator());
          rewriter.create<TF::_XlaSendFromHostOp>(
              func.getLoc(),
              cloned_func.getBody().front().getTerminator()->getOperands(),
              /*dynamic_key=*/dynamic_key, op.getRecvKeyAttr(),
              /*device_ordinal=*/rewriter.getI64IntegerAttr(0),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  2. mockwebserver/api/mockwebserver3.api

    	public synthetic fun <init> (Lmockwebserver3/MockResponse$Builder;Lkotlin/jvm/internal/DefaultConstructorMarker;)V
    	public final fun getBody ()Lmockwebserver3/MockResponseBody;
    	public final fun getBodyDelayNanos ()J
    	public final fun getCode ()I
    	public final fun getHeaders ()Lokhttp3/Headers;
    	public final fun getHeadersDelayNanos ()J
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Tue Jan 03 21:59:45 UTC 2023
    - 12.7K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/transforms/reduce_while_operands.cc

      auto new_while_op = OpBuilder(while_op).create<WhileOp>(
          while_op.getLoc(), new_result_types, new_operands, while_op->getAttrs());
      new_while_op.getCond().takeBody(while_op.getCond());
      new_while_op.getBody().takeBody(while_op.getBody());
    
      for (auto i = 0; i < n; ++i) {
        if (!while_op.getResult(i).use_empty()) {
          auto j = id_map[i];
          while_op.getResult(i).replaceAllUsesWith(new_while_op.getResult(j));
        }
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/tpu_dynamic_layout_pass.cc

        llvm::MutableArrayRef<tf_device::LaunchOp> execute_launches,
        const TF::ResourceAliasAnalysis::Info& resource_alias_analysis) {
      auto compile =
          llvm::cast<TF::_TPUCompileMlirOp>(compile_launch.GetBody().front());
      tensorflow::tpu::TPUCompileMetadataProto metadata;
      metadata.ParseFromString(compile.getMetadata().str());
      llvm::SmallVector<llvm::SmallVector<int64_t, 4>, 4> input_mappings =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/stablehlo/passes/defer_activation_transpose.cc

                /*padding=*/DenseIntElementsAttr(nullptr));
    
        // Clone the reduce body. It is not affected by the permutation.
        IRMapping mapping;
        op.getBody().cloneInto(&new_reduce_window_op.getBody(), mapping);
    
        // Introduce a transpose to the result to match the shapes of `op`'s uses.
        TransposeOp result_transpose_op = CreateTransposeOp(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  6. internal/rest/client.go

    		case *bytes.Buffer:
    			req.ContentLength = int64(v.Len())
    			buf := v.Bytes()
    			req.GetBody = func() (io.ReadCloser, error) {
    				r := bytes.NewReader(buf)
    				return io.NopCloser(r), nil
    			}
    		case *bytes.Reader:
    			req.ContentLength = int64(v.Len())
    			snapshot := *v
    			req.GetBody = func() (io.ReadCloser, error) {
    				r := snapshot
    				return io.NopCloser(&r), nil
    			}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/tpu_merge_variables_with_execute.cc

          merged_execute.getResultTypes());
      merged_execute_launch.getBody().push_back(new Block);
    
      builder->setInsertionPointToEnd(&merged_execute_launch.GetBody());
      builder->create<tf_device::ReturnOp>(merged_execute.getLoc(),
                                           merged_execute.getResults());
    
      merged_execute.getOperation()->moveBefore(
          merged_execute_launch.GetBody().getTerminator());
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 29 17:52:11 UTC 2024
    - 27K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/utils/tftext_utils.cc

                                             FuncAttr attr) {
      func.eraseBody();
      func.addEntryBlock();
      func->setAttr(kTFImplements, attr);
      OpBuilder builder(func.getBody());
      std::string empty_option_buffer;
      auto op = builder.create<CustomOp>(
          func.getLoc(), func.getFunctionType().getResults(), func.getArguments(),
          api, CustomOption(&builder, empty_option_buffer));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/analysis/side_effect_analysis.cc

          AddRegionSideEffectsForOp(if_op.else_function().getBody(), op);
        } else if (auto while_op = dyn_cast<WhileOp>(op)) {
          AddRegionSideEffectsForOp(while_op.body_function().getBody(), op);
        } else if (auto while_region_op = dyn_cast<WhileRegionOp>(op)) {
          AddRegionSideEffectsForOp(while_region_op.getBody(), op);
        } else if (auto case_op = dyn_cast<CaseOp>(op)) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 09:04:13 UTC 2024
    - 41.2K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/stablehlo/passes/replace_stablehlo_ops_in_main_function_with_xla_call_module_ops.cc

      stablehlo_func_op.setVisibility(SymbolTable::Visibility::Private);
      stablehlo_func_op->setAttr(TF::kFromXlaCallModuleAttrName,
                                 builder.getUnitAttr());
    
      builder.createBlock(&stablehlo_func_op.getBody(), stablehlo_func_op.begin(),
                          arg_types, arg_locs);
    
      IRMapping mapper;
      // stablehlo_func_op has 1 extra arg for platform index.
      for (auto [input, stablehlo_func_arg] : llvm::zip_equal(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 21K bytes
    - Viewed (0)
Back to top