Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for Stateless (0.13 sec)

  1. internal/grid/manager.go

    }
    
    /*
    // RegisterStateless will register a stateless handler that serves
    // []byte -> stream of ([]byte, error) requests.
    func (m *Manager) RegisterStateless(id HandlerID, h StatelessHandler) error {
    	if !id.valid() {
    		return ErrUnknownHandler
    	}
    	if m.handlers.hasAny(id) && !id.isTestHandler() {
    		return ErrHandlerAlreadyExists
    	}
    
    	m.handlers.stateless[id] = &h
    	return nil
    }
    */
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 17:40:33 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/utils/export_utils.cc

      // either TensorFlow StatelessX or X op depending on the additional attribute.
      if (llvm::isa<mlir::TF::CaseOp, mlir::TF::IfOp, mlir::TF::WhileOp>(inst)) {
        auto stateless = inst->getAttrOfType<mlir::BoolAttr>("is_stateless");
        if (stateless && stateless.getValue())
          *node_def->mutable_op() = "Stateless" + node_def->op();
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tfrt/tests/tf_to_corert/optimize_tf_control_flow_side_effect.mlir

      func.return %0, %1 : tensor<i32>, tensor<i32>
    }
    
    // -----
    
    // Set stateless if the body contains only read-only side-effecting ops.
    
    func.func private @cond(%arg: tensor<i32>, %handle: tensor<!tf_type.resource>) -> tensor<i1> {
      %0 = "tf.Const"() {value = dense<16> : tensor<i32> } : () -> tensor<i32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 02 01:15:55 UTC 2023
    - 10.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/ir/tf_ops.cc

      if (op->hasTrait<OpTrait::TF::CannotDuplicate>()) return false;
    
      // If the op has no memory side effects, it can be duplicated.
      if (isMemoryEffectFree(op)) return true;
    
      // If the op is marked stateless using the `is_stateless` attribute, that
      // attribute determines if the op can be duplicated.
      if (auto is_stateless = op->getAttrOfType<BoolAttr>("is_stateless"))
        return is_stateless.getValue();
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  5. internal/grid/handlers.go

    	// StatelessHandlerFn must handle incoming stateless request.
    	// A non-nil error value will be returned as RemoteErr(msg) to client.
    	StatelessHandlerFn func(ctx context.Context, payload []byte, resp chan<- []byte) *RemoteErr
    
    	// StatelessHandler is handlers for one to many requests,
    	// where responses may be dropped.
    	// Stateless requests provide no incoming stream and there is no flow control
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  6. internal/grid/connection.go

    	// Stateless stream:
    	if m.Flags&FlagStateless != 0 {
    		// Reject for now, so we can safely add it later.
    		if true {
    			gridLogIf(ctx, c.queueMsg(m, muxConnectError{Error: "Stateless streams not supported"}))
    			return
    		}
    
    		var handler *StatelessHandler
    		if subID == nil {
    			handler = c.handlers.stateless[m.Handler]
    		} else {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 44.8K bytes
    - Viewed (0)
  7. internal/grid/muxclient.go

    	cancelFn           context.CancelCauseFunc
    	parent             *Connection
    	respWait           chan<- Response
    	respMu             sync.Mutex
    	singleResp         bool
    	closed             bool
    	stateless          bool
    	acked              bool
    	init               bool
    	deadline           time.Duration
    	outBlock           chan struct{}
    	subroute           *subHandlerID
    	respErr            atomic.Pointer[error]
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  8. guava/src/com/google/common/hash/BloomFilter.java

      /**
       * A strategy to translate T instances, to {@code numHashFunctions} bit indexes.
       *
       * <p>Implementations should be collections of pure functions (i.e. stateless).
       */
      interface Strategy extends java.io.Serializable {
    
        /**
         * Sets {@code numHashFunctions} bits of the given bit array, by hashing a user element.
         *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/hash/BloomFilter.java

      /**
       * A strategy to translate T instances, to {@code numHashFunctions} bit indexes.
       *
       * <p>Implementations should be collections of pure functions (i.e. stateless).
       */
      interface Strategy extends java.io.Serializable {
    
        /**
         * Sets {@code numHashFunctions} bits of the given bit array, by hashing a user element.
         *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/inspect/ModelRuleExtractorTest.groovy

        }
    
        def "extracted stateless rules are cached"() {
            when:
            def fromFirstExtraction = extractor.extract(MutationRules)
            def fromSecondExtraction = extractor.extract(MutationRules)
    
            then:
            fromFirstExtraction.is(fromSecondExtraction)
        }
    
        def "extracted stateless abstract rules are cached"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 13:45:02 UTC 2024
    - 30.4K bytes
    - Viewed (0)
Back to top