Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 67 for GetBody (0.35 sec)

  1. 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)
  2. 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)
  3. 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)
  4. src/net/http/client.go

    			redirectMethod = "GET"
    		}
    	case 307, 308:
    		redirectMethod = reqMethod
    		shouldRedirect = true
    		includeBody = true
    
    		if ireq.GetBody == nil && ireq.outgoingLength() != 0 {
    			// We had a request body, and 307/308 require
    			// re-sending it, but GetBody is not defined. So just
    			// return this response to the user instead of an
    			// error, like we did in Go 1.7 and earlier.
    			shouldRedirect = false
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 06:06:11 UTC 2024
    - 33.7K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tf2xla/internal/passes/xla_broadcast.cc

               << replicate.getN() << ")";
      }
    
      // add block arg to region. This is in $body.
      unsigned block_arg_idx = replicate.GetNumReplicatedBlockArguments();
      Block& block = replicate.GetBody();
      block_arg = block.insertArgument(block_arg_idx, type, replicate.getLoc());
    
      // add to $replicated_inputs. This also updates OperandSegmentSizeAttr.
      replicate.getReplicatedInputsMutable().append(inputs);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 13 18:52:07 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/region_control_flow_to_functional.cc

      // Create new function and extract region body into the function.
      auto outlined_func = builder.create<func::FuncOp>(loc, name, type);
      Region& func_region = outlined_func.getBody();
      func_region.takeBody(region);
      Block& first_block = func_region.front();
    
      // Replace all external uses with function arguments.
      for (auto it : llvm::enumerate(extern_values)) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/XmlTransformerTest.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
    - 13.5K bytes
    - Viewed (0)
  8. src/net/http/request_test.go

    			t.Errorf("test[%d]: Body = nil", i)
    			continue
    		}
    		if req.GetBody == nil {
    			t.Errorf("test[%d]: GetBody = nil", i)
    			continue
    		}
    		slurp1, err := io.ReadAll(req.Body)
    		if err != nil {
    			t.Errorf("test[%d]: ReadAll(Body) = %v", i, err)
    		}
    		newBody, err := req.GetBody()
    		if err != nil {
    			t.Errorf("test[%d]: GetBody = %v", i, err)
    		}
    		slurp2, err := io.ReadAll(newBody)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 18:42:34 UTC 2024
    - 44K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/translate/export_graphdef.cc

    // returned.
    Operation* GetIslandInnerOpOrSelf(mlir::Operation* op) {
      auto island = llvm::dyn_cast<mlir::tf_executor::IslandOp>(op);
      if (island) return &island.GetBody().front();
      return op;
    }
    
    // Stateful helper class to export a function into a Graph.
    class Exporter {
     public:
      // Converts the given Module to a Graph. The given module should only contain
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tf2xla/api/v2/tf_executor_to_graph.cc

    // returned.
    Operation* GetIslandInnerOpOrSelf(mlir::Operation* op) {
      auto island = llvm::dyn_cast<mlir::tf_executor::IslandOp>(op);
      if (island) return &island.GetBody().front();
      return op;
    }
    
    // Stateful helper class to export a function into a Graph.
    class Exporter {
     public:
      // Converts the given Module to a Graph. The given module should only contain
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 23:04:51 UTC 2024
    - 35.2K bytes
    - Viewed (0)
Back to top