tf.keras.backend.local_conv1d
Stay organized with collections
Save and categorize content based on your preferences.
Apply 1D conv with un-shared weights.
tf.keras.backend.local_conv1d(
inputs, kernel, kernel_size, strides, data_format=None
)
Arguments |
inputs
|
3D tensor with shape:
(batch_size, steps, input_dim)
if data_format is "channels_last" or
(batch_size, input_dim, steps)
if data_format is "channels_first".
|
kernel
|
the unshared weight for convolution,
with shape (output_length, feature_dim, filters).
|
kernel_size
|
a tuple of a single integer,
specifying the length of the 1D convolution window.
|
strides
|
a tuple of a single integer,
specifying the stride length of the convolution.
|
data_format
|
the data format, channels_first or channels_last.
|
Returns |
A 3d tensor with shape:
(batch_size, output_length, filters)
if data_format='channels_first'
or 3D tensor with shape:
(batch_size, filters, output_length)
if data_format='channels_last'.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2020-10-01 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2020-10-01 UTC."],[],[]]