  IDCore(x){
    let skip=x
      let proj= tf.layers.dense({
                units: opt.depth,
                activation: "tanh"
            })
                  let proj2= tf.layers.dense({
                units: opt.depth,
                activation: "tanh"
            })

  for(let k=0;k<10;k++){
      
       let x1 = tf.layers.dense({
                units:4* 4096,
                activation: "tanh",
                name: 'scoress2'+k
            }).apply(x)
            let  x2 = tf.layers.dense({
                units: 4*4096,
                activation: "linear",
                name: 'scoress2w'+k
            }).apply(x)
              let  x3 = tf.layers.dense({
                units: 4*4096,
                activation: "linear",
                name: 'scoress2z'+k
            }).apply(tf.layers.permute({dims:[2,1]}).apply(x))
 
          let  x4=tf.layers.dot({axes:[2,2]}).apply([x1,x2])
          x4=tf.layers.activation({activation:'softmax'}).apply(x4)
        let dotx=tf.layers.dot({axes:[1,1]}).apply([x4,x3])
        let  dotx2=proj2.apply(dotx)
        dotx2=tf.layers.batchNormalization().apply(dotx2)
            skip=tf.layers.add().apply([skip,dotx2])
             x=proj.apply(skip)
          
            
           
          
            }
          
            return skip
    }