Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 181 for y_const (0.32 sec)

  1. test/slice3.go

    				for _, k := range index {
    					kv, kconst := parse(k)
    					// Avoid errors that would make the program not compile.
    					// Those are tested by slice3err.go.
    					switch {
    					case iconst && jconst && iv > jv,
    						jconst && kconst && jv > kv,
    						iconst && kconst && iv > kv,
    						iconst && base == "array" && iv > Cap,
    						jconst && base == "array" && jv > Cap,
    						kconst && base == "array" && kv > Cap:
    						continue
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 2.9K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/sys/plan9/mkerrors.sh

    echo '// Code generated by the command above; DO NOT EDIT.'
    echo
    go tool cgo -godefs -- "$@" _const.go >_error.out
    cat _error.out | grep -vf _error.grep | grep -vf _signal.grep
    echo
    echo '// Errors'
    echo 'const ('
    cat _error.out | grep -f _error.grep | sed 's/=\(.*\)/= Errno(\1)/'
    echo ')'
    
    echo
    echo '// Signals'
    echo 'const ('
    cat _error.out | grep -f _signal.grep | sed 's/=\(.*\)/= Signal(\1)/'
    echo ')'
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 26 00:11:50 UTC 2022
    - 5.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/const-values.pbtxt

    # RUN: tf-mlir-translate -graphdef-to-mlir -tf-enable-shape-inference-on-import=false %s -o - | FileCheck %s
    
    node {
      name: "bf16_scalar"
      op: "Const"
      attr {
        key: "dtype"
        value {
          type: DT_BFLOAT16
        }
      }
      attr {
        key: "value"
        value {
          tensor {
            dtype: DT_BFLOAT16
            tensor_shape {
            }
            half_val: 0
            # CHECK: value = dense<0.000000e+00> : tensor<bf16>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 24 00:20:25 UTC 2020
    - 3.3K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/syntax/token_string.go

    	_ = x[_Rbrack-15]
    	_ = x[_Rbrace-16]
    	_ = x[_Comma-17]
    	_ = x[_Semi-18]
    	_ = x[_Colon-19]
    	_ = x[_Dot-20]
    	_ = x[_DotDotDot-21]
    	_ = x[_Break-22]
    	_ = x[_Case-23]
    	_ = x[_Chan-24]
    	_ = x[_Const-25]
    	_ = x[_Continue-26]
    	_ = x[_Default-27]
    	_ = x[_Defer-28]
    	_ = x[_Else-29]
    	_ = x[_Fallthrough-30]
    	_ = x[_For-31]
    	_ = x[_Func-32]
    	_ = x[_Go-33]
    	_ = x[_Goto-34]
    	_ = x[_If-35]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 29 02:28:24 UTC 2020
    - 1.7K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tf2xla/transforms/tfxla_device_specific_transforms.cc

      tensorflow::Algorithm tensorflow_rng =
          tensorflow::ToTensorflowAlgorithm(xla_rng);
    
      OpBuilder opbuilder(get_alg_op);
    
      auto tf_const = opbuilder.create<TF::ConstOp>(
          get_alg_op->getLoc(), opbuilder.getI32IntegerAttr((int)tensorflow_rng));
    
      get_alg_op->replaceAllUsesWith(tf_const);
      get_alg_op->erase();
      return success();
    }
    
    void TFXLADeviceSpecificTransforms::runOnOperation() {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 03 05:56:39 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/quint8-const.pbtxt

    node {
      name: "Quantized_Constant"
      op: "Const"
      attr {
        key: "dtype"
        value {
          type: DT_QUINT8
        }
      }
      attr {
        key: "value"
        value {
          tensor {
            dtype: DT_QUINT8
            tensor_shape {
            }
            int_val: 7
          }
        }
      }
    }
    library {
    }
    versions {
      producer: 70
    }
    
    # CHECK: tf.Const
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Aug 05 09:05:10 UTC 2022
    - 639 bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/transforms/dense_to_sparse.cc

        }
      }
    }
    
    inline float GetSparsity(const int num_zeros, const int num_elements) {
      return (1.0 * num_zeros / num_elements);
    }
    
    float CalculateRandomSparsity(const ElementsAttr& attr,
                                  const ShapedType& type) {
      int num_elements = type.getNumElements();
      int num_zeros = 0;
    
      if (mlir::isa<FloatType>(type.getElementType())) {
        for (const auto val : attr.getValues<APFloat>()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  8. src/cmd/cgo/internal/testplugin/testdata/issue25756/plugin/life.h

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    extern void Step(int, int, int *, int *);
    extern void DoStep(int, int, int, int, int, int, int *, int *);
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 292 bytes
    - Viewed (0)
  9. src/cmd/cgo/internal/testlife/testdata/life.h

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    extern void Step(int, int, int *, int *);
    extern void DoStep(int, int, int, int, int, int, int *, int *);
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 292 bytes
    - Viewed (0)
  10. src/cmd/link/internal/loong64/asm.go

    			objabi.R_LOONG64_TLS_IE_HI,
    			objabi.R_LOONG64_TLS_IE_LO,
    			objabi.R_LOONG64_GOT_HI,
    			objabi.R_LOONG64_GOT_LO:
    			return val, 1, true
    		}
    	}
    
    	const isOk = true
    	const noExtReloc = 0
    
    	switch r.Type() {
    	case objabi.R_CONST:
    		return r.Add(), noExtReloc, isOk
    	case objabi.R_GOTOFF:
    		return ldr.SymValue(r.Sym()) + r.Add() - ldr.SymValue(syms.GOT), noExtReloc, isOk
    	case objabi.R_LOONG64_ADDR_HI,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 27 17:26:07 UTC 2024
    - 7.5K bytes
    - Viewed (0)
Back to top