Commit 0796d711 authored by A. Unique TensorFlower's avatar A. Unique TensorFlower Committed by TensorFlower Gardener
Browse files

Update _check_shape to accept six.integer_types instead of int

Currently _check_shape requires that a shape be an `int` or sequence of `int`s.  This CL allows `six.integer_type`s so now (1L,) would be a valid shape.

PiperOrigin-RevId: 215589131
parent 560624bf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment