Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 138 for side_effects (0.27 sec)

  1. tensorflow/compiler/mlir/tfrt/tests/tf_to_corert/side_effects.mlir

    Adrian Kuegel <******@****.***> 1648469008 -0700
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 28 12:06:33 UTC 2022
    - 1008 bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/analysis/side_effect_analysis.cc

    SideEffects GetSideEffectsFromEffectInstance(
        const MemoryEffects::EffectInstance& effect_instance, Operation* op) {
      mlir::SideEffects::Effect* effect = effect_instance.getEffect();
      SideEffects side_effects;
      if (isa<MemoryEffects::Allocate>(effect)) {
        side_effects.SetAlloc();
      } else if (isa<MemoryEffects::Free>(effect)) {
        side_effects.SetFree();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 09:04:13 UTC 2024
    - 41.2K bytes
    - Viewed (0)
  3. subprojects/core/src/test/groovy/org/gradle/api/internal/collections/PendingSourceSpec.groovy

            given:
            def sideEffect1 = Mock(ValueSupplier.SideEffect)
            def sideEffect2 = Mock(ValueSupplier.SideEffect)
            def sideEffect3 = Mock(ValueSupplier.SideEffect)
            def sideEffect4 = Mock(ValueSupplier.SideEffect)
            def sideEffect5 = Mock(ValueSupplier.SideEffect)
            def propertyFactory = new DefaultPropertyFactory(Stub(PropertyHost))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Aug 25 12:24:17 UTC 2022
    - 3K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tfr/python/tfr_gen.py

            nouts = node.args[6].value
            # TODO(mdan): Look at the actual types out of if_body.
            side_effects = {
                qual_names.QN(n.value): {TFRTypes.TENSOR}
                for n in node.args[5].elts[:nouts]
            }
            return {type(None)}, side_effects
    
          if name == QN(QN('ag__'), attr='for_stmt'):
            assert isinstance(node.args[2], ast.Name)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 27 15:27:03 UTC 2022
    - 55.8K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/WithSideEffectProviderTest.groovy

            given:
            def sideEffect1 = Mock(ValueSupplier.SideEffect)
            def sideEffect2 = Mock(ValueSupplier.SideEffect)
            def counter = new AtomicInteger(23)
            def parent = Providers.changing { counter.getAndIncrement() }.withSideEffect(sideEffect1)
            def provider = Providers.internal(parent.flatMap { Providers.of(it * 2).withSideEffect(sideEffect2) })
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 26 06:53:07 UTC 2023
    - 10.2K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/api/internal/provider/ProviderSpec.groovy

        def "runs chained side effects when calling '#method' on provider with value"() {
            given:
            def sideEffect1 = Mock(ValueSupplier.SideEffect)
            def sideEffect2 = Mock(ValueSupplier.SideEffect)
            def parent = providerWithValue(someValue())
            def provider = parent.withSideEffect(sideEffect1).withSideEffect(sideEffect2)
    
            when:
            provider.calculateValue(ValueSupplier.ValueConsumer.IgnoreUnsafeRead)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 26 06:53:07 UTC 2023
    - 19.2K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/CollectionPropertySpec.groovy

            def sideEffect1 = Mock(ValueSupplier.SideEffect)
            def sideEffect2 = Mock(ValueSupplier.SideEffect)
            def expectedUnpackedValue = ["some value", "simple value", "other value"]
    
            when:
            property.add(Providers.of("some value").withSideEffect(sideEffect1))
            property.add(Providers.of("simple value"))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 11:41:55 UTC 2024
    - 49.7K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/ValueSupplier.java

            private CompositeSideEffect(Iterable<SideEffect<? super T>> sideEffects) {
                this.sideEffects = ImmutableList.copyOf(sideEffects);
            }
    
            @Override
            public void execute(T t) {
                for (SideEffect<? super T> sideEffect : sideEffects) {
                    sideEffect.execute(t);
                }
            }
    
            @Override
            public String toString() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 09 20:31:29 UTC 2024
    - 27.2K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/MapPropertySpec.groovy

            def sideEffect1 = Mock(ValueSupplier.SideEffect)
            def sideEffect2 = Mock(ValueSupplier.SideEffect)
    
            when:
            property.put("some key", Providers.of("some value").withSideEffect(sideEffect1))
            property.putAll(Providers.of(["other key": "other value"]).withSideEffect(sideEffect2))
            def keySetProvider = property.keySet()
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 11:41:55 UTC 2024
    - 58.7K bytes
    - Viewed (0)
  10. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/models/BuildTreeModelSideEffectStore.kt

        }
    
        fun collectSideEffects(): List<BlockAddress> = entries.toList()
    
        fun write(sideEffect: BuildTreeModelSideEffect) {
            val blockAddress = valuesStore.write(sideEffect)
            entries += blockAddress
        }
    
        fun restoreFromCacheEntry(sideEffects: List<BlockAddress>): List<BuildTreeModelSideEffect> {
            return sideEffects.map {
                valuesStore.read(it)
            }
        }
    
        private
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 3.3K bytes
    - Viewed (0)
Back to top