Support both int32 and int64 for tensor attrs.
Support both int32 and int64 for tensor attrs.

hhugo/tensorflow-ocaml,LaurentMazare/tensorflow-ocaml,hhugo/tensorflow-ocaml,LaurentMazare/tensorflow-ocaml