Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 81 for GetBody (0.16 sec)

  1. tensorflow/compiler/mlir/quantization/tensorflow/passes/unfreeze_constants.cc

      const auto func_type = builder.getFunctionType(/*inputs=*/{}, /*results=*/{});
    
      auto init_func = builder.create<func::FuncOp>(
          loc, /*sym_name=*/"init_func_restore_op", func_type);
      builder.createBlock(&init_func.getBody(), /*insertPt=*/init_func.begin(),
                          /*arg_types=*/{}, /*arg_locs=*/{});
    
      init_func->setAttr(kTfSavedModelExportedNamesAttr,
                         builder.getStrArrayAttr(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 16 15:04:53 UTC 2023
    - 14K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. tensorflow/compiler/mlir/tensorflow/transforms/cluster_ops_by_policy.cc

          builder.create<tf_device::ClusterOp>(loc, return_types, policy);
    
      // Create block in cluster_op's region and move 'cluster.operations' into
      // it.
      auto block = builder.createBlock(&cluster_op.getBody());
      auto block_end = block->end();
      for (auto op : cluster.operations) op->moveBefore(block, block_end);
    
      // Add 'tf_device::ReturnOp' at the end of the block.
      builder.setInsertionPointToEnd(block);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/analysis/resource_alias_analysis.cc

        return it->second;
      }
    
      // Returns backtracking analysis for the given function.
      const InfoT& GetAnalysisForFunc(func::FuncOp func) const {
        return GetAnalysisForRegion(func.getBody());
      }
    
      // Backtracks the given value.
      Value BacktrackValue(Value value);
    
     private:
      // Returns the analysis for the given region (analyzing the region if it has
      // not yet been analyzed).
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 09:04:13 UTC 2024
    - 28.2K bytes
    - Viewed (0)
Back to top