/// <inheritdoc/> Tensor IOps.Dense3(Tensor X, Tensor W, Tensor B) { LogLayerSummary(X.shape + " * (" + W.flatHeight + "," + W.flatWidth + ") + (" + B.flatWidth + ")"); var O = m_Ops.Dense3(X, W, B); LogOutputTensorSummary(O, Prefix + "Dense3"); return O; }
/// <inheritdoc/> Tensor IOps.Dense3(Tensor X, Tensor W, Tensor B) { var Y = m_Ops1.Dense3(X, W, B); var Z = m_Ops2.Dense3(X, W, B); CheckSame(Y, Z, Layer.Type.Dense3); return(Y); }
/// <inheritdoc/> Tensor IOps.Dense3(Tensor X, Tensor W, Tensor B) { D.Log(X.shape + " * (" + W.flatHeight + "," + W.flatWidth + ") + (" + B.flatWidth + ")"); var O = m_Ops.Dense3(X, W, B); O.PrintDataPart(32, Prefix + "Dense3"); return(O); }
Tensor IOps.Dense3(Tensor X, Tensor W, Tensor B) { var O = m_Ops.Dense3(X, W, B); m_Alu += (long)X.height * (long)X.width * (long)W.width * 2L * (long)X.batch * (long)X.channels; m_Mem += (long)X.length + (long)W.length + (long)O.length; return(O); }