Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 146 for y_const (0.21 sec)

  1. tensorflow/cc/framework/gradients_test.cc

      auto x = Variable(scope_test_, {2, 3}, DT_DOUBLE);
      auto x_const = Const(scope_test_, {{1.0, 2.0, 3.0}, {4.0, 5.0, 6.0}});
      auto x_assign = Assign(scope_test_, x, x_const);
    
      auto y = Variable(scope_test_, {3, 1}, DT_DOUBLE);
      auto y_const = Const(scope_test_, {{1.0}, {2.0}, {3.0}});
      auto y_assign = Assign(scope_test_, y, y_const);
    
      auto m = MatMul(scope_test_, x, y);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 15 15:13:38 UTC 2023
    - 25K bytes
    - Viewed (0)
  2. tensorflow/compiler/aot/tests/make_test_graphs.py

    from tensorflow.python.ops import variables
    from tensorflow.python.training import saver as saver_lib
    
    FLAGS = None
    
    
    def tfadd(_):
      x = constant_op.constant([1], name='x_const')
      y = constant_op.constant([2], name='y_const')
      math_ops.add(x, y, name='x_y_sum')
    
    
    def tfadd_with_ckpt(out_dir):
      x = array_ops.placeholder(dtypes.int32, name='x_hold')
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 15 15:25:23 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/const.go

    			case Int:
    				var s = uint(sizeof(typ)) * 8
    				return int64(-1)<<(s-1) <= x && x <= int64(1)<<(s-1)-1
    			case Int8:
    				const s = 8
    				return -1<<(s-1) <= x && x <= 1<<(s-1)-1
    			case Int16:
    				const s = 16
    				return -1<<(s-1) <= x && x <= 1<<(s-1)-1
    			case Int32:
    				const s = 32
    				return -1<<(s-1) <= x && x <= 1<<(s-1)-1
    			case Int64, UntypedInt:
    				return true
    			case Uint, Uintptr:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 22 19:32:17 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  4. src/debug/dwarf/const.go

    // the opPlusUconst operator is expected by the type parser.
    const (
    	opAddr       = 0x03 /* 1 op, const addr */
    	opDeref      = 0x06
    	opConst1u    = 0x08 /* 1 op, 1 byte const */
    	opConst1s    = 0x09 /*	" signed */
    	opConst2u    = 0x0A /* 1 op, 2 byte const  */
    	opConst2s    = 0x0B /*	" signed */
    	opConst4u    = 0x0C /* 1 op, 4 byte const */
    	opConst4s    = 0x0D /*	" signed */
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 19:33:30 UTC 2023
    - 13.8K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/tests/const-fold.mlir

    Christian Sigg <******@****.***> 1714640622 -0700
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 45.8K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ir/const.go

    	}
    
    	return NewBasicLit(pos, typ, val)
    }
    
    var (
    	intOne     = constant.MakeInt64(1)
    	floatOne   = constant.ToFloat(intOne)
    	complexOne = constant.ToComplex(intOne)
    )
    
    const (
    	// Maximum size in bits for big.Ints before signaling
    	// overflow and also mantissa precision for big.Floats.
    	ConstPrec = 512
    )
    
    func BigFloat(v constant.Value) *big.Float {
    	f := new(big.Float)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 12 18:53:26 UTC 2023
    - 4K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/typecheck/const.go

    Matthew Dempsky <******@****.***> 1696458169 -0700
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 05 15:20:28 UTC 2023
    - 10.5K bytes
    - Viewed (0)
  8. src/go/types/const.go

    			case Int:
    				var s = uint(sizeof(typ)) * 8
    				return int64(-1)<<(s-1) <= x && x <= int64(1)<<(s-1)-1
    			case Int8:
    				const s = 8
    				return -1<<(s-1) <= x && x <= 1<<(s-1)-1
    			case Int16:
    				const s = 16
    				return -1<<(s-1) <= x && x <= 1<<(s-1)-1
    			case Int32:
    				const s = 32
    				return -1<<(s-1) <= x && x <= 1<<(s-1)-1
    			case Int64, UntypedInt:
    				return true
    			case Uint, Uintptr:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  9. src/math/const.go

    // Package math provides basic constants and mathematical functions.
    //
    // This package does not guarantee bit-identical results across architectures.
    package math
    
    // Mathematical constants.
    const (
    	E   = 2.71828182845904523536028747135266249775724709369995957496696763 // https://oeis.org/A001113
    	Pi  = 3.14159265358979323846264338327950288419716939937510582097494459 // https://oeis.org/A000796
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 21 14:07:39 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  10. 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)
Back to top