code: def create_Ycov(self):
      t0 = self.end_index + 1
      self.D.epoch = 0
      self.D.vindex = 0
      self.D.hindex = 0
      Ycov = copy.deepcopy(self.Ymat[:, 0:t0])
      Ymat_now = self.Ymat[:, 0:t0]
  
      self.Xseq = self.Xseq.eval()
  
      while self.D.epoch < 1:
          last_epoch = self.D.epoch
          last_vindex = self.D.vindex
          last_hindex = self.D.hindex
          inp, out, vindex, hindex = self.D.next_batch()
  
          Xin = self.tensor2d_to_temporal(
              self.X[:, last_hindex : last_hindex + inp.size(2)]
          )
          Xout = self.temporal_to_tensor2d(self.Xseq(Xin))
          Fout = self.F[
              self.D.I[last_vindex : last_vindex + out.size(0)], :
          ]
          output = np.array(torch.matmul(Fout, Xout).detach())
          Ycov[
              last_vindex : last_vindex + output.shape[0],
              last_hindex + 1 : last_hindex + 1 + output.shape[1],
          ] = output
  
      for p in self.Xseq.parameters():
          p.requires_grad = True
  
      if self.period is None:
          Ycov_wc = np.zeros(shape=[Ycov.shape[0], 1, Ycov.shape[1]])
          if self.forward_cov:
              Ycov_wc[:, 0, 0:-1] = Ycov[:, 1::]
          else:
              Ycov_wc[:, 0, :] = Ycov
      else:
          Ycov_wc = np.zeros(shape=[Ycov.shape[0], 2, Ycov.shape[1]])
          if self.forward_cov:
              Ycov_wc[:, 0, 0:-1] = Ycov[:, 1::]
          else:
              Ycov_wc[:, 0, :] = Ycov
          Ycov_wc[:, 1, self.period - 1 : :] = Ymat_now[
              :, 0 : -(self.period - 1)
          ]
      return Ycov_wc
  
imports: from __future__ import print_function
  import torch
  import numpy
  import pandas
  import torch.nn
  import torch.optim
  from torch.autograd import Variable
  from zoo.chronos.model.tcmf.data_loader import TCMFDataLoader
  from zoo.chronos.model.tcmf.local_model import TemporalConvNet, LocalModel
  from zoo.chronos.model.tcmf.time import TimeCovariates
  import copy
  import pickle
  import logging
label_desc: Use image node_id 14 for calling the DeepGLO obj's underlying member method code with example usage: obj.create_Ycov() and returns: Ycov_wc