Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 81 for GetBody (0.13 sec)

  1. tensorflow/compiler/mlir/lite/transforms/prepare_composite_functions_tf.cc

    LogicalResult ConvertTflFusableOp(
        func::FuncOp func, StringRef custom_op_name,
        ArrayRef<std::pair<StringRef, Attribute>> attrs) {
      func.eraseBody();
      func.addEntryBlock();
    
      OpBuilder builder(func.getBody());
      std::string custom_option_buffer;
      if (failed(CreateTflFusableOpCustomOptions(attrs, &builder,
                                                 custom_option_buffer))) {
        return failure();
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/convert_control_to_data_outputs.cc

      auto control_type = ControlType::get(builder.getContext());
      auto island = builder.create<IslandOp>(
          sub_op->getLoc(), sub_op->getResultTypes(), control_type, control_inputs);
      island.getBody().push_back(new Block);
      Block* block = &island.getBody().back();
      builder.setInsertionPointToEnd(block);
      sub_op->replaceAllUsesWith(island.getOutputs());
      sub_op->moveBefore(block, block->begin());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/tensorflow/passes/insert_main_function.cc

        if (!ShouldIncludeInMainFunction(func_op)) continue;
    
        arg_types.append(func_op.getArgumentTypes().begin(),
                         func_op.getArgumentTypes().end());
        auto& return_op = func_op.getBody().getBlocks().front().back();
        result_types.append(return_op.getOperandTypes().begin(),
                            return_op.getOperandTypes().end());
        for (const auto& arg : func_op.getArguments()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/ir/tf_device_ops.td

      let arguments = (ins
        StrAttr:$device
      );
    
      let results = (outs
        Variadic<AnyType>:$results
      );
    
      let regions = (region SizedRegion<1>:$body);
    
      let extraClassDeclaration = [{
        Block &GetBody() { return getOperation()->getRegion(0).front(); }
        bool WrapsSingleOp();
      }];
    
      let builders = [
        OpBuilder<(ins "StringAttr":$device, "TypeRange":$result_types),
        [{
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jan 23 23:53:20 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/tpu_device_propagation.cc

    // in multiple passes over the tf_executor.graph to propagate devices in loops.
    void PropagateDevicesInGraph(
        tf_executor::GraphOp graph,
        llvm::DenseMap<Value, llvm::StringRef>& value_to_device) {
      auto ops = graph.GetBody().without_terminator();
    
      bool updated_next_iteration = false;
      do {
        updated_next_iteration = false;
        for (Operation& op : ops) {
          if (!IsSupportedExecutorOp(op)) continue;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11K bytes
    - Viewed (0)
  6. mockwebserver-deprecated/api/mockwebserver.api

    	public final fun headers (Lokhttp3/Headers;)V
    	public final fun http2ErrorCode (I)V
    	public final fun removeHeader (Ljava/lang/String;)Lokhttp3/mockwebserver/MockResponse;
    	public final fun setBody (Ljava/lang/String;)Lokhttp3/mockwebserver/MockResponse;
    	public final fun setBody (Lokio/Buffer;)Lokhttp3/mockwebserver/MockResponse;
    	public final fun setBodyDelay (JLjava/util/concurrent/TimeUnit;)Lokhttp3/mockwebserver/MockResponse;
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Jul 22 12:28:51 UTC 2023
    - 10.2K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/tensorflow/ops/tf_quantize_op.cc

      OpBuilder::InsertionGuard guard = OpBuilder::InsertionGuard(rewriter);
      ArrayRef<Type> inputs = quantization_func.getFunctionType().getInputs();
      Block* block = rewriter.createBlock(
          &quantization_func.getBody(), quantization_func.begin(), inputs,
          SmallVector<Location>(inputs.size(), quantization_func.getLoc()));
      func_input_arg = block->getArgument(0);
      return quantization_func;
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11K bytes
    - Viewed (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/XpathTransformerTest.java

            assertTrue(obj instanceof TestEntity);
            final TestEntity entity = (TestEntity) obj;
            assertEquals("タイトル", entity.getTitle());
            assertEquals("第一章 第一節 ほげほげふがふが LINK 第2章 第2節", entity.getBody());
            final List<String> list = new ArrayList<String>();
            list.add("リスト1");
            list.add("リスト2");
            list.add("リスト3");
            assertEquals(list, entity.getList());
        }
    
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tf2xla/internal/passes/tpu_cluster_formation.cc

      llvm::SmallVector<mlir::TF::TPUReplicatedInputOp, 8> replicated_input_ops;
      llvm::SmallSet<mlir::TF::TPUReplicatedInputOp, 8> seen_ops;
      mlir::visitUsedValuesDefinedAbove(
          cluster.getBody(), cluster.getBody(), [&](mlir::OpOperand* operand) {
            Operation* def = operand->get().getDefiningOp();
            if (auto ri =
                    llvm::dyn_cast_or_null<mlir::TF::TPUReplicatedInputOp>(def)) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 22:03:30 UTC 2024
    - 39.3K bytes
    - Viewed (0)
  10. src/cmd/go/internal/modfetch/proxy.go

    	return &module.ModuleError{
    		Path:    p.path,
    		Version: version,
    		Err:     err,
    	}
    }
    
    func (p *proxyRepo) getBytes(ctx context.Context, path string) ([]byte, error) {
    	body, redactedURL, err := p.getBody(ctx, path)
    	if err != nil {
    		return nil, err
    	}
    	defer body.Close()
    
    	b, err := io.ReadAll(body)
    	if err != nil {
    		// net/http doesn't add context to Body read errors, so add it here.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 03 15:21:05 UTC 2023
    - 13K bytes
    - Viewed (0)
Back to top