DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
tf.data.Dataset select files with labels filter
dataset = train_data.filter(lambda x,y: tf.reduce_all(tf.not_equal(y, [0,1,2]))).batch(200)
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#select
#files
#labels
#filter
ADD COMMENT
Topic
COMMENT
Name
2+2 =
Submit