Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 69 for stateful (0.44 sec)

  1. platforms/core-runtime/messaging/src/test/groovy/org/gradle/internal/remote/internal/hub/queue/AbstractQueueTest.groovy

            InterHubMessage message = Stub() {
                getDelivery() >> InterHubMessage.Delivery.SingleHandler
            }
            return message
        }
    
        def stateful() {
            InterHubMessage message = Stub() {
                getDelivery() >> InterHubMessage.Delivery.Stateful
            }
            return message
        }
    
        def broadcast() {
            InterHubMessage message = Stub() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:59:22 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/ir/tf_dialect.h

      // string description of gradient attribute.
      static StringRef GetGradientAttrName() { return "tf.gradient"; }
    
      // This attribute marks if a function is stateful.
      // Returns the string description of stateful attribute.
      static StringRef GetStatefulAttrName() { return "tf.signature.is_stateful"; }
    
      // Returns true if the op can be duplicated during transformations.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 08 01:19:25 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  3. platforms/core-runtime/messaging/src/test/groovy/org/gradle/internal/remote/internal/hub/queue/QueueInitializerTest.groovy

    class QueueInitializerTest extends AbstractQueueTest {
        final QueueInitializer initializer = new QueueInitializer()
        final Dispatch<InterHubMessage> queue = Mock()
    
        def "does nothing when no stateful messages received"() {
            when:
            initializer.onQueueAdded(queue)
    
            then:
            0 * queue._
        }
    
        def "discards message on end of stream received"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:59:22 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  4. platforms/core-runtime/messaging/src/main/java/org/gradle/internal/remote/internal/hub/protocol/EndOfStream.java

        @Override
        public String toString() {
            return "[" + getClass().getSimpleName() + "]";
        }
    
        @Override
        public Delivery getDelivery() {
            return Delivery.Stateful;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:59:22 UTC 2023
    - 926 bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/connection/InetAddressOrder.kt

    import java.net.InetAddress
    import okhttp3.internal.interleave
    
    /**
     * Implementation of HappyEyeballs Sorting Addresses.
     *
     * The current implementation does not address any of:
     *  - Async DNS split by IP class
     *  - Stateful handling of connectivity results
     *  - The prioritisation of addresses
     *
     * https://datatracker.ietf.org/doc/html/rfc8305#section-4
     */
    fun reorderForHappyEyeballs(addresses: List<InetAddress>): List<InetAddress> {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Dec 20 23:27:07 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  6. platforms/core-runtime/messaging/src/main/java/org/gradle/internal/remote/internal/hub/queue/QueueInitializer.java

            if (message instanceof EndOfStream) {
                endOfStream = (EndOfStream) message;
            } else {
                throw new UnsupportedOperationException(String.format("Received unexpected stateful message: %s", message));
            }
        }
    
        void onQueueAdded(Dispatch<InterHubMessage> queue) {
            if (endOfStream != null) {
                queue.dispatch(endOfStream);
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:59:22 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  7. platforms/core-runtime/stdlib-java-extensions/src/main/java/org/gradle/internal/service/scopes/StatefulListener.java

    import java.lang.annotation.Retention;
    import java.lang.annotation.RetentionPolicy;
    import java.lang.annotation.Target;
    
    /**
     * Attached to a listener interface to indicate that its events are stateful.
     *
     * <p>The listener infrastructure will ensure that a listener of this type will either receive all events, or no events.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 14:28:48 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/transforms/split_merged_operands.cc

    // merging same input values if they're identical. These optimizations are
    // desirable but not for those TFLite ops which have variable tensors as inputs.
    // Yes, they have identical input values, but those identical values are
    // "stateful", their values can change during invocations.
    //
    // A typical example is unidirectional_sequence_lstm have two variable tensor
    // inputs: activation state & cell state. They may have same initial values
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 20:30:06 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  9. platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/Serializers.java

     * limitations under the License.
     */
    
    package org.gradle.internal.serialize;
    
    public class Serializers {
        public static <T> StatefulSerializer<T> stateful(final Serializer<T> serializer) {
            return new StatefulSerializerAdapter<T>(serializer);
        }
    
        private static class StatefulSerializerAdapter<T> implements StatefulSerializer<T> {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/tests/guarantee-all-funcs-one-use.mlir

    module {
      func.func private @f() {
        func.call @g() : () -> ()
        func.return
      }
      func.func private @g() {
        func.call @f() : () -> ()
        func.return
      }
    }
    
    // -----
    // Test stateful and stateless partitioned calls.
    // CHECK-LABEL: func @f
    func.func @f() {
      // CHECK: "tf.PartitionedCall"() <{config = "",  config_proto = "", executor_type = "", f = @g}> : () -> ()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 2.1K bytes
    - Viewed (0)
Back to top