tensorflow / tensorflow

An Open Source Machine Learning Framework for Everyone

Home Page:https://tensorflow.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Aborted (core dumped) with `tf.raw_ops.Dilation2DBackpropFilter`

LongZE666 opened this issue · comments

Issue type

Bug

Have you reproduced the bug with TensorFlow Nightly?

Yes

Source

source

TensorFlow version

tf 2.16.1

Custom code

Yes

OS platform and distribution

Ubuntu 20.04

Mobile device

No response

Python version

3.11

Bazel version

No response

GCC/compiler version

No response

CUDA/cuDNN version

No response

GPU model and memory

No response

Current behavior?

Under specific input, tf.raw_ops.Dilation2DBackpropFilter encounters "Aborted (core dumped)".

Standalone code to reproduce the issue

import tensorflow as tf

strides = [1, 1, 1, 1]
rates = [1, 1, 1, 1]
padding = "VALID"
input = tf.constant([], shape=[0,0,0,0], dtype=tf.float32)
filter = tf.constant([], shape=[0,0,0], dtype=tf.float32)
out_backprop = tf.constant([], shape=[0], dtype=tf.float32)
tf.raw_ops.Dilation2DBackpropFilter(input=input, filter=filter, out_backprop=out_backprop, strides=strides, rates=rates, padding=padding)

Relevant log output

2024-05-01 03:00:39.549898: F tensorflow/core/framework/tensor_shape.cc:357] Check failed: d < dims() (1 vs. 1)
Aborted (core dumped)