Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,250 for Constant2 (0.21 sec)

  1. tensorflow/compiler/mlir/tensorflow/tests/order_by_dialect.mlir

    // -----
    
    // CHECK-LABEL: @mhlo_while
    func.func private @mhlo_while() {
      // CHECK-NEXT: mhlo.constant
      // CHECK-NEXT: mhlo.constant
      // CHECK-NEXT: mhlo.constant
      %0 = mhlo.constant dense<-1> : tensor<i32>
      %1 = mhlo.constant dense<0> : tensor<i32>
      %2 = mhlo.constant dense<20> : tensor<i32>
      // CHECK-NEXT: mhlo.while
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 06 15:32:52 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/common/attrs_and_constraints.td

    // Checks if the value is a float constant and its splat value is equal to `x`.
    class IsSplatValueEqual<string x> : Constraint<CPred<
      "IsSplatValueEqual<float>($0, "# x #")">>;
    
    // Checks if two values are float constants and their values are equal.
    def AreSplatValuesEqual : Constraint<CPred<
      "AreSplatValuesEqual<float>($0, $1)">>;
    
    // Checks if the value is an integer constant and its splat value is equal to x.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 08 04:55:44 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  3. doc/go1.17_spec.html

    literal.
    </p>
    
    
    <h2 id="Constants">Constants</h2>
    
    <p>There are <i>boolean constants</i>,
    <i>rune constants</i>,
    <i>integer constants</i>,
    <i>floating-point constants</i>, <i>complex constants</i>,
    and <i>string constants</i>. Rune, integer, floating-point,
    and complex constants are
    collectively called <i>numeric constants</i>.
    </p>
    
    <p>
    A constant value is represented by a
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 20:22:45 UTC 2024
    - 211.6K bytes
    - Viewed (0)
  4. tools/istio-iptables/pkg/builder/iptables_builder_impl.go

    			_, _ = fmt.Fprintln(&b, "COMMIT")
    		}
    	}
    	return b.String()
    }
    
    func (rb *IptablesRuleBuilder) buildRestore(rules []*Rule) string {
    	tableRulesMap := map[string][]string{
    		constants.FILTER: {},
    		constants.NAT:    {},
    		constants.MANGLE: {},
    	}
    
    	chainTableLookupMap := sets.New[string]()
    	for _, r := range rules {
    		chainTable := fmt.Sprintf("%s:%s", r.chain, r.table)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 11 14:29:54 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  5. doc/go_spec.html

    literal.
    </p>
    
    
    <h2 id="Constants">Constants</h2>
    
    <p>There are <i>boolean constants</i>,
    <i>rune constants</i>,
    <i>integer constants</i>,
    <i>floating-point constants</i>, <i>complex constants</i>,
    and <i>string constants</i>. Rune, integer, floating-point,
    and complex constants are
    collectively called <i>numeric constants</i>.
    </p>
    
    <p>
    A constant value is represented by a
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 21:07:21 UTC 2024
    - 281.5K bytes
    - Viewed (1)
  6. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/evaluate/FirCompileTimeConstantEvaluator.kt

    import org.jetbrains.kotlin.psi.KtElement
    import org.jetbrains.kotlin.resolve.constants.evaluate.CompileTimeType
    import org.jetbrains.kotlin.resolve.constants.evaluate.evalBinaryOp
    import org.jetbrains.kotlin.resolve.constants.evaluate.evalUnaryOp
    import org.jetbrains.kotlin.types.ConstantValueKind
    
    /**
     * An evaluator that transform numeric operation, such as div, into compile-time constant iff involved operands, such as explicit receiver
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Fri Jun 07 11:53:09 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/transforms/optimize_patterns.td

       (HasOneUse $input_neg_out)]>;
    
    // The constant folding in this pass might produce constant in the tf dialect.
    // This rule is to legalize these constant to the tfl dialect.
    def LegalizeConstOp : Pat<
      (TF_ConstOp ElementsAttr:$value), (TFL_ConstOp $value)>;
    
    // Reorders adds to allow constant folding.
    // Add --> Add $input, $constantA
    //    \--> $constantB
    // To
    // Add --> $input
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 16 20:31:41 UTC 2024
    - 66.4K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/stablehlo/transforms/passes.td

          the second argument is the zero point constant (element type: int) and
          the third argument is the inverse scale constant (element type: float).
        * A tensor is dequantized using a `func::FuncOp` whose name contains
          "uniform_dequantize". The first argument is the tensor to be quantized,
          the second argument is the zero point constant (element type: int) and
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 21:59:06 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  9. test/codegen/math.go

    	// s390x:"MOV(B|BZ|D)\t[$]1,",-"FCMPU",-"MOV(B|BZ|D)\t[$]0,"
    	return float32(0.5) <= float32(int64(1)) && float32(1.5) >= float32(int32(-1<<31))
    }
    
    // Test that integer constants are converted to floating point constants
    // at compile-time
    
    func constantConvert32(x float32) float32 {
    	// amd64:"MOVSS\t[$]f32.3f800000\\(SB\\)"
    	// s390x:"FMOVS\t[$]f32.3f800000\\(SB\\)"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 15:24:29 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  10. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/components/KtCompileTimeConstantProvider.kt

         */
        public fun KtExpression.evaluate(): KaConstantValue? =
            withValidityAssertion { analysisSession.compileTimeConstantProvider.evaluate(this) }
    
        /**
         * Returns a [KaConstantValue] if the expression evaluates to a value that can be used as an annotation parameter value,
         * e.g. an array of constants, otherwise returns null.
         */
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Fri Jun 07 11:53:09 UTC 2024
    - 1.7K bytes
    - Viewed (0)
Back to top