Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 1,941 for pconstants (0.16 sec)

  1. 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)
  2. tensorflow/compiler/jit/kernels/xla_ops.h

    namespace tensorflow {
    
    
    // XlaLocalLaunchBase is almost the same as XlaLocalLaunchOp.
    // The only difference is that it does not require arguments to follow
    // the "constants, then regular args, then resources" order.
    // It takes vectors of constant and resource arguments explicitly.
    // It does not have corresponding OpDef because it is never present
    // in the GraphDef.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 16 23:44:26 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  3. 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)
  4. src/cmd/vendor/golang.org/x/sys/unix/README.md

    these constants are written to `zerrors_${GOOS}_${GOARCH}.go` via a C program,
    `_errors.c`, which prints out all the constants.
    
    To add a constant, add the header that includes it to the appropriate variable.
    Then, edit the regex (if necessary) to match the desired constant. Avoid making
    the regex too broad to avoid matching unintended constants.
    
    ### internal/mkmerge
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 06 14:32:58 UTC 2021
    - 8.5K bytes
    - Viewed (0)
  5. src/go/types/index.go

    	switch typ := under(x.typ).(type) {
    	case *Basic:
    		if isString(typ) {
    			valid = true
    			if x.mode == constant_ {
    				length = int64(len(constant.StringVal(x.val)))
    			}
    			// an indexed string always yields a byte value
    			// (not a constant) even if the string and the
    			// index are constant
    			x.mode = value
    			x.typ = universeByte // use 'byte' name
    		}
    
    	case *Array:
    		valid = true
    		length = typ.len
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 16:17:05 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/quantization/ir/Passes.h

    std::unique_ptr<OperationPass<func::FuncOp>> createConvertSimulatedQuantPass();
    
    /// Creates a pass that converts constants followed by a qbarrier to a
    /// constant whose value is quantized. This is typically one of the last
    /// passes done when lowering to express actual quantized arithmetic in a
    /// low level representation. Because it modifies the constant, it is
    /// destructive and cannot be undone.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jul 29 18:55:28 UTC 2022
    - 2.3K bytes
    - Viewed (0)
  7. tensorflow/cc/saved_model/testdata/generate_chunked_models.py

    from tensorflow.tools.proto_splitter import constants
    from tensorflow.tools.proto_splitter.python import saved_model as proto_splitter
    
    SPLITTER_TESTDATA_PATH = flags.DEFINE_string(
        "path", None, help="Path to testdata directory.")
    
    
    def generate_non_chunked_model(non_chunked_dir: str):
      root = module.Module()
      root.c = constant_op.constant(np.random.random_sample([150, 150]))
      constants.debug_set_max_size(80000)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 08 21:43:11 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/simple.mlir

    // TODO(b/329300758): add file check back after the cl is fixed | FileCheck %s
    // Check a few basic properties of the import-export,
    // including constants retaining their shape
    // and the module including the TFLite version.
    
    func.func @main(tensor<3x2xi32>) -> tensor<3x2xi32> {
    ^bb0(%arg0: tensor<3x2xi32>):
      // CHECK: module attributes
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 1.6K bytes
    - Viewed (0)
Back to top