Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for slicemap (0.15 sec)

  1. tensorflow/compiler/mlir/lite/transforms/lower_static_tensor_list.cc

            vector_one);
        auto slice_op =
            CreateSliceOpForTensorList(loc, /*input_list=*/input,
                                       /*start_index=*/scalar_zero, /*size=*/size,
                                       /*item_rank=*/partial_position_shape,
                                       /*result_type=*/result_type, rewriter);
        rewriter->create<func::ReturnOp>(loc, ArrayRef<Value>({slice_op}));
      }
    };
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 70.7K bytes
    - Viewed (0)
  2. src/encoding/json/decode_test.go

    	Map   map[string]Small
    	MapP  map[string]*Small
    	PMap  *map[string]Small
    	PMapP *map[string]*Small
    
    	EmptyMap map[string]Small
    	NilMap   map[string]Small
    
    	Slice   []Small
    	SliceP  []*Small
    	PSlice  *[]Small
    	PSliceP *[]*Small
    
    	EmptySlice []Small
    	NilSlice   []Small
    
    	StringSlice []string
    	ByteSlice   []byte
    
    	Small   Small
    	PSmall  *Small
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 16:40:14 UTC 2024
    - 67.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/lower_tf.cc

                           {
                               ConstOp::getOperationName(),
                               ReshapeOp::getOperationName(),
                               SliceOp::getOperationName(),
                               TransposeOp::getOperationName(),
                           }) {}
    
      LogicalResult matchAndRewrite(Operation *src_op,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 74.9K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/prove.go

    		case OpSlicemask:
    			// Replace OpSlicemask operations in b with constants where possible.
    			x, delta := isConstDelta(v.Args[0])
    			if x == nil {
    				break
    			}
    			// slicemask(x + y)
    			// if x is larger than -y (y is negative), then slicemask is -1.
    			lim, ok := ft.limits[x.ID]
    			if !ok {
    				break
    			}
    			if lim.umin > uint64(-delta) {
    				if v.Args[0].Op == OpAdd64 {
    					v.reset(OpConst64)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:30:21 UTC 2024
    - 48.9K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/transforms/optimize_patterns.td

      (replaceWithValue $input),
      [(CanOptimizeIdentitySliceOp $input, $begin, $size)]>;
    
    // Convert the StridedSliceOp to a SliceOp when possible. This will enable other
    // optimizations on SliceOp to run.
    def OptimizeStridedSlice : Pat<
      (TFL_StridedSliceOp $input,
        (Arith_ConstantOp $begin),
        (Arith_ConstantOp $end),
        (Arith_ConstantOp $stride),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 16 20:31:41 UTC 2024
    - 66.4K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/_gen/AMD64.rules

    (ZeroExt8to32  ...) => (MOVBQZX ...)
    (ZeroExt8to64  ...) => (MOVBQZX ...)
    (ZeroExt16to32 ...) => (MOVWQZX ...)
    (ZeroExt16to64 ...) => (MOVWQZX ...)
    (ZeroExt32to64 ...) => (MOVLQZX ...)
    
    (Slicemask <t> x) => (SARQconst (NEGQ <t> x) [63])
    
    (SpectreIndex <t> x y) => (CMOVQCC x (MOVQconst [0]) (CMPQ x y))
    (SpectreSliceIndex <t> x y) => (CMOVQHI x (MOVQconst [0]) (CMPQ x y))
    
    // Lowering truncation
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 12 19:38:41 UTC 2024
    - 93.9K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/_gen/PPC64.rules

    (AtomicCompareAndSwapRel32   ptr old new_ mem) => (LoweredAtomicCas32 [0] ptr old new_ mem)
    
    (AtomicAnd(8|32)  ...) => (LoweredAtomicAnd(8|32)  ...)
    (AtomicOr(8|32)   ...) => (LoweredAtomicOr(8|32)   ...)
    
    (Slicemask <t> x) => (SRADconst (NEG <t> x) [63])
    (ANDconst [1] z:(SRADconst [63] x)) && z.Uses == 1  => (SRDconst [63] x)
    
    // Note that MOV??reg returns a 64-bit int, x is not necessarily that wide
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 53.2K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/_gen/S390X.rules

    (SignExt16to(32|64) ...) => (MOVHreg ...)
    (SignExt32to64 ...) => (MOVWreg ...)
    
    (ZeroExt8to(16|32|64) ...) => (MOVBZreg ...)
    (ZeroExt16to(32|64) ...) => (MOVHZreg ...)
    (ZeroExt32to64 ...) => (MOVWZreg ...)
    
    (Slicemask <t> x) => (SRADconst (NEG <t> x) [63])
    
    // Lowering truncation
    // Because we ignore high parts of registers, truncates are just copies.
    (Trunc(16|32|64)to8 ...) => (Copy ...)
    (Trunc(32|64)to16 ...) => (Copy ...)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 18:09:26 UTC 2023
    - 74.3K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/_gen/ARM.rules

    (SignExt8to32 ...) => (MOVBreg ...)
    (SignExt16to32 ...) => (MOVHreg ...)
    
    (Signmask x) => (SRAconst x [31])
    (Zeromask x) => (SRAconst (RSBshiftRL <typ.Int32> x x [1]) [31]) // sign bit of uint32(x)>>1 - x
    (Slicemask <t> x) => (SRAconst (RSBconst <t> [0] x) [31])
    
    // float <-> int conversion
    (Cvt32to32F ...) => (MOVWF ...)
    (Cvt32to64F ...) => (MOVWD ...)
    (Cvt32Uto32F ...) => (MOVWUF ...)
    (Cvt32Uto64F ...) => (MOVWUD ...)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 17:19:36 UTC 2023
    - 90.1K bytes
    - Viewed (0)
Back to top