Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 299 for stateful (0.22 sec)

  1. pkg/scheduler/framework/plugins/examples/stateful/stateful.go

    limitations under the License.
    */
    
    package stateful
    
    import (
    	"context"
    	"fmt"
    	"sync"
    
    	v1 "k8s.io/api/core/v1"
    	"k8s.io/apimachinery/pkg/runtime"
    	"k8s.io/klog/v2"
    	"k8s.io/kubernetes/pkg/scheduler/framework"
    )
    
    // MultipointExample is an example plugin that is executed at multiple extension points.
    // This plugin is stateful. It receives arguments at initialization (NewMultipointPlugin)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 09 03:43:17 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/stateful-attribute.pbtxt

    }
    
    # Find PartitionedCall ops in main and match the callee name.
    # CHECK: func @main
    # CHECK: "tf.PartitionedCall"
    # CHECK-SAME: f = @[[FUNCTION_FOO:[a-zA-Z0-9_]*]]
    
    # Find callee and verify it has the stateful attribute set.
    # CHECK: func private @[[FUNCTION_FOO]]
    # CHECK-SAME: attributes
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Nov 11 19:14:04 UTC 2020
    - 1.5K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/ops/xla_ops.cc

        .Attr("Nresources: int >= 0")
        .Output("results: Tresults")
        .Attr("Tresults: list(type) >= 0")
        .Attr("function: func")
        // XLA random-number generation ops are stateful.
        // TODO(phawkins): create stateful and non-stateful variants of XlaLaunch.
        .SetIsStateful()
        .Doc("XLA Launch Op. For use by the XLA JIT only.");
    
    REGISTER_OP("XlaLaunchV2")
        .Input("args: Targs")
        .Output("results: Tresults")
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 06 09:08:06 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  4. platforms/core-runtime/serialization/src/test/groovy/org/gradle/internal/serialize/SerializersTest.groovy

            def serializer = Mock(Serializer)
            def decoder = Mock(Decoder)
            def encoder = Mock(Encoder)
    
            given:
            def stateful = Serializers.stateful(serializer)
            def reader = stateful.newReader(decoder)
            def writer = stateful.newWriter(encoder)
    
            when:
            def result1 = reader.read()
            def result2 = reader.read()
    
            then:
            result1 == "one"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/ir/tfl_op_interfaces.td

    // TFL op interface for stateful operands.
    
    def TFL_StatefulOp : OpInterface<"StatefulOpInterface"> {
      let description = [{
        Interface for ops that are stateful and need to identify stateful operands.
    
        Stateful operands correspond to TF's variables semantics. An op that has 1
        or more stateful operands is a stateful op.
      }];
    
      let methods = [
        InterfaceMethod<
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  6. platforms/core-runtime/messaging/src/main/java/org/gradle/internal/remote/internal/hub/protocol/InterHubMessage.java

             */
            AllHandlers,
            /**
             * Message should be delivered to all handlers. Most recent stateful message is queued and also delivered to each new handler.
             */
            Stateful
        }
    
        public abstract Delivery getDelivery();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:59:22 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  7. platforms/core-runtime/messaging/src/test/groovy/org/gradle/internal/event/DefaultListenerManagerInServiceRegistryTest.groovy

        def services = new DefaultServiceRegistry()
    
        def setup() {
            services.add(listenerManager)
        }
    
        def "automatically creates and registers stateful listener when first event is broadcast"() {
            def created = Mock(Runnable)
            def listener = Mock(TestListener)
    
            when:
            services.addProvider(new ServiceRegistrationProvider() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:34:44 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/utils/stateful_ops_utils.h

    #include <vector>
    
    #include "mlir/Dialect/Func/IR/FuncOps.h"  // from @llvm-project
    
    namespace mlir {
    namespace TFL {
    
    // Check if the given op has stateful operands and return their stateful
    // operand indices.
    bool IsStatefulOp(Operation* op, std::vector<int>* stateful_operand_indices);
    
    }  // namespace TFL
    }  // namespace mlir
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jun 03 00:14:05 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/main/java/org/gradle/internal/component/external/model/ExternalComponentGraphResolveState.java

     */
    public interface ExternalComponentGraphResolveState extends ComponentGraphResolveState {
    
        /**
         * @deprecated Try to avoid using this. This method exposes legacy stateful metadata. Usages should be
         * replaced by using the stateful types like {@link ComponentGraphResolveState} and
         * {@link org.gradle.internal.component.model.ComponentArtifactResolveState}.
         */
        @Deprecated
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 19:04:04 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/tests/check_control_dependencies.mlir

          tf_executor.yield
        }
        tf_executor.fetch
      }
      func.return
    }
    
    // -----
    
    // Check that we report an unexpected dependency path between a stateless and a
    // stateful op.
    func.func @source_stateless_target_stateful() -> () {
      tf_executor.graph {
        // expected-warning@+1 {{unexpected control dependency path: path 0, node 0 (source)}}
        %island1 = tf_executor.island {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 31 16:14:07 UTC 2022
    - 8K bytes
    - Viewed (0)
Back to top