/// <summary>1次元バイリニア補間</summary> /// <remarks>倍率2固定</remarks> public static VariableNode BilinearZoom1D(VariableNode x) { Function function = new Functions.Connection1D.BilinearZoom(); VariableNode y = Apply(function, x)[0]; return(y); }
/// <summary>1次元バイリニア補間</summary> /// <remarks>倍率2固定</remarks> public static Tensor BilinearZoom1D(Tensor x) { Function function = new Functions.Connection1D.BilinearZoom(); Tensor y = new Tensor(function.OutputShapes(x.Shape)[0]); function.Execute(new Tensor[] { x }, new Tensor[] { y }); return(y); }