<commit_before>#ifndef TH_GENERIC_FILE
#define TH_GENERIC_FILE "generic/VolumetricConvolutionMM.c"
#else

static int THNN_(view_weight)(THTensor **_weight)
{
  THTensor *weight = *_weight;
  THArgCheck(weight->nDimension == 2 || weight->nDimension == 5, 4,
          "weight tensor should be 2D or 5D - got %dD", weight->nDimension);
  if (weight->nDimension == 5) {
    long s1 = weight->size[0];
    long s2 = weight->size[1] * weight->size[2] * weight->size[3] * weight->size[4];
    *_weight = THTensor_(newWithStorage2d)(weight->storage, 0, s1, -1, s2, -1);
    return 1;
  }<commit_msg>adding storageOffset in VolumetricConvolutionMM<commit_after>#ifndef TH_GENERIC_FILE
#define TH_GENERIC_FILE "generic/VolumetricConvolutionMM.c"
#else

static int THNN_(view_weight)(THTensor **_weight)
{
  THTensor *weight = *_weight;
  THArgCheck(weight->nDimension == 2 || weight->nDimension == 5, 4,
          "weight tensor should be 2D or 5D - got %dD", weight->nDimension);
  if (weight->nDimension == 5) {
    long s1 = weight->size[0];
    long s2 = weight->size[1] * weight->size[2] * weight->size[3] * weight->size[4];
    *_weight = THTensor_(newWithStorage2d)(weight->storage, weight->storageOffset, s1, -1, s2, -1);
    return 1;
  }
{'fraction_non_alphanumeric': 0.15508885298869143, 'fraction_numerical': 0.03150242326332795, 'mean_word_length': 4.363636363636363, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 24, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '121291', 'n_tokens_mistral': 456, 'n_tokens_neox': 438, 'n_words': 101}