コード例 #1
0
 /// <inheritdoc/>
 Tensor IOps.Border3D(Tensor X, int[] pad, float value)
 {
     LogLayerSummary($"{X.shape} ¶(border3d) value={value} pad=[{pad[0]},{pad[1]},{pad[2]},{pad[3]},{pad[4]},{pad[5]})");
     var O = m_Ops.Border3D(X, pad, value);
     LogOutputTensorSummary(O, Prefix + "Border3D");
     return O;
 }
コード例 #2
0
        /// <inheritdoc/>
        Tensor IOps.Border3D(Tensor X, int[] pad, float value)
        {
            var O = m_Ops.Border3D(X, pad, value);

            m_Mem += (long)X.length + (long)O.length;
            return(O);
        }
コード例 #3
0
        /// <inheritdoc/>
        Tensor IOps.Border3D(Tensor x, int[] pad, float value)
        {
            var Y = m_Ops1.Border3D(x, pad, value);
            var Z = m_Ops2.Border3D(x, pad, value);

            CheckSame(Y, Z, Layer.Type.Border3D);
            return(Y);
        }
コード例 #4
0
        /// <inheritdoc/>
        Tensor IOps.Border3D(Tensor X, int[] pad, float value)
        {
            D.Log($"{X.shape} ¶(border3d) value={value} pad=[{pad[0]},{pad[1]},{pad[2]},{pad[3]},{pad[4]},{pad[5]})");
            var O = m_Ops.Border3D(X, pad, value);

            O.PrintDataPart(32, Prefix + "Border3D");
            return(O);
        }
コード例 #5
0
        /// <inheritdoc/>
        Tensor IOps.Border3D(Tensor X, int[] pad, float value)
        {
            var O = m_Ops.Border3D(X, pad, value);

            m_Alu += 0;
            m_Mem += (long)X.length + (long)O.length;
            RegisterLayerStats();
            return(O);
        }