zerosLike function

VARP zerosLike(
  1. VARP input
)

Creates a variable with all elements set to zero.

Args:

  • input: A variable.

Returns:

  • A variable with all elements set to zero.

Implementation

VARP zerosLike(VARP input) => VARP.fromPointer(C.mnn_expr_ZerosLike(input.ptr));