Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 14 of 14 for alignof (0.15 sec)

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

        for (const auto &axis_int : perm.getValues<APInt>()) {
          axes.push_back(axis_int.getSExtValue());
        }
        if (axes != SmallVector<int64_t>({1, 2, 0, 3})) return failure();
    
        // Add reshape op to be aligned with the input restriction with
        // TFL::resize_nearest_neighor op.
        const int32_t image_size = static_cast<int32_t>(params_type.getShape()[0]);
        const int32_t feature_size =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 00:40:15 UTC 2024
    - 102.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/ir/tfl_ops.cc

        return input_tensor.reshape(input_tensor.getType().cloneWith(
            output_shape, input_tensor.getElementType()));
      }
    
      // MLIR implementation pads elements < 8 bits to 8 bits and pads non byte
      // aligned to the nearest byte. So this is allowed.
      const char* raw_input = input_tensor.getRawData().data();
      const int element_byte_size =
          input_tensor.getElementType().getIntOrFloatBitWidth() / 8;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 169.2K bytes
    - Viewed (0)
  3. src/cmd/internal/obj/ppc64/asm9.go

    		// The function alignment is not promoted on AIX at this time.
    		// TODO: Investigate AIX function alignment.
    		if ctxt.Headtype != objabi.Haix && cursym.Func().Align < int32(a) {
    			cursym.Func().Align = int32(a)
    		}
    		if pc&(a-1) != 0 {
    			return int(a - (pc & (a - 1)))
    		}
    	default:
    		ctxt.Diag("Unexpected alignment: %d for PCALIGN directive\n", a)
    	}
    	return 0
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 13:55:28 UTC 2024
    - 156.1K bytes
    - Viewed (0)
  4. src/runtime/proc.go

    	if readgstatus(newg) != _Gdead {
    		throw("newproc1: new g is not Gdead")
    	}
    
    	totalSize := uintptr(4*goarch.PtrSize + sys.MinFrameSize) // extra space in case of reads slightly beyond frame
    	totalSize = alignUp(totalSize, sys.StackAlign)
    	sp := newg.stack.hi - totalSize
    	if usesLR {
    		// caller's LR
    		*(*uintptr)(unsafe.Pointer(sp)) = 0
    		prepGoExitFrame(sp)
    	}
    	if GOARCH == "arm64" {
    		// caller's FP
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 207.5K bytes
    - Viewed (0)
Back to top