Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 926 for effects (0.15 sec)

  1. tensorflow/compiler/mlir/tensorflow/analysis/side_effect_analysis.cc

      llvm::SmallDenseSet<Value, 8> processed_values;
      for (const auto& effect : effects) {
        Value value = effect.getValue();
        found_any_effect = true;
    
        // We only collect value-based side effects here for which we can use
        // resource alias analysis. Other side effects are treated as op-based
        // side effects.
        if (!ShouldUseResourceAliasAnalysis(effect)) continue;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 09:04:13 UTC 2024
    - 41.2K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/WithSideEffectProviderTest.groovy

            provider.calculateExecutionTimeValue()
    
            then:
            0 * _ // no side effects when calculating wrapped values
    
            when:
            counter.set(23)
            def unpackedValue = provider.get()
    
            then:
            unpackedValue == 46
            // Side effect of the provider returned by transform is executed first.
            // See FlatMapProvider for details
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 26 06:53:07 UTC 2023
    - 10.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/ir/tf_ops.cc

      }
    
      return nullptr;
    }
    
    // Returns true if the op can have side effects.
    bool TensorFlowDialect::CanHaveSideEffects(Operation *op) {
      // If the op has no memory side effects, it has no side effects
      if (isMemoryEffectFree(op)) return false;
    
      // If the op is marked stateless using the `is_stateless` attribute, then
      // it has no side effects.
      if (auto is_stateless = op->getAttrOfType<BoolAttr>("is_stateless"))
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/ValueSupplier.java

             */
            <R> Value<R> transform(Transformer<? extends R, ? super T> transformer);
    
            /**
             * Returns a value attaching the given side effect.
             * <p>
             * A {@link #isMissing() missing} value never carries a side effect.
             * If the value is present and already has a side effect, then side effects are composed
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 09 20:31:29 UTC 2024
    - 27.2K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/api/internal/provider/ProviderSpec.groovy

            provider.calculateExecutionTimeValue()
    
            then:
            0 * _ // no side effects when values are not unpacked
    
            when:
            provider.get()
    
            then:
            thrown(IllegalStateException)
            0 * sideEffect.execute(_)
            0 * _
        }
    
        def "runs chained side effects when calling '#method' on provider with value"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 26 06:53:07 UTC 2023
    - 19.2K bytes
    - Viewed (0)
  6. pkg/util/tolerations/tolerations_test.go

    		existsProbability            = 0.3
    		tolerationSecondsProbability = 0.5
    	)
    	effects := []api.TaintEffect{"", api.TaintEffectNoExecute, api.TaintEffectNoSchedule, api.TaintEffectPreferNoSchedule}
    	genToleration := func() api.Toleration {
    		gen := api.Toleration{
    			Effect: effects[r.Intn(len(effects))],
    		}
    		if r.Float32() < allProbability {
    			gen = tolerations["all"]
    			return gen
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 26 22:25:49 UTC 2019
    - 11.4K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/ir/tf_op_base.td

    // Op-based side effects
    
    // Op-based side effect traits can be used to enforce certain execution order
    // constraints, in particular for ops that don't use resource handles (those
    // typically have value-based side effects). For a `read` effect, all instances
    // of ops with the trait keep their order to all ops with unknown side effects
    // (e.g. `stateful` ops). For a `write` effect, all instances of ops with the
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 30.5K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/ir/tf_traits.h

     public:
      static LogicalResult verifyTrait(Operation* op) {
        if (isMemoryEffectFree(op))
          return op->emitError(
              "operations with no side effects cannot have CannotDuplicate trait");
        return success();
      }
    };
    
    // Trait to indicate an operation cannot be constant folded.
    template <typename ConcreteType>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  9. common-protos/k8s.io/api/admissionregistration/v1beta1/generated.proto

      // SideEffects states whether this webhook has side effects.
      // Acceptable values are: Unknown, None, Some, NoneOnDryRun
      // Webhooks with side effects MUST implement a reconciliation system, since a request may be
      // rejected by a future step in the admission chain and the side effects therefore need to be undone.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/gtest-death-test.h

    // appropriate fallback value (12 in this case) in opt mode. If you
    // need to test that a function has appropriate side-effects in opt
    // mode, include assertions against the side-effects.  A general
    // pattern for this is:
    //
    // EXPECT_DEBUG_DEATH({
    //   // Side-effects here will have an effect after this statement in
    //   // opt mode, but none in debug mode.
    //   EXPECT_EQ(12, DieInDebugOr12(&sideeffect));
    // }, "death");
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 11.3K bytes
    - Viewed (0)
Back to top