Browse Source
fix build error
this fixes the build error, but is the right type being passed to `assert_positive`?
pull/571/head
carb0n
GitHub
5 years ago
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
2 deletions
-
src/TensorFlowNET.Core/Operations/image_ops_impl.cs
|
|
@@ -57,8 +57,8 @@ namespace Tensorflow |
|
|
|
return new [] { |
|
|
|
check_ops.assert_positive( |
|
|
|
array_ops.shape(image)[-3..^0], |
|
|
|
[@"inner 3 dims of 'image.shape' |
|
|
|
must be > 0."]), |
|
|
|
@"inner 3 dims of 'image.shape' |
|
|
|
must be > 0."), |
|
|
|
check_ops.assert_greater_equal( |
|
|
|
array_ops.rank(image), |
|
|
|
3, |
|
|
|