Tune in to the first Women in ML Symposium this Tuesday, October 19 at 9am PST Register now


View source on GitHub

Assert tensors are the same shape, from the same graph.

expected_tensor Tensor with expected shape.
tensor Tensor of actual values.

The original tensor argument, possibly with assert ops added.