/external/tensorflow/tensorflow/contrib/data/python/ops/ |
D | sliding.py | 30 def __init__(self, input_dataset, window_size, window_shift, window_stride): argument 38 window_shift, dtype=dtypes.int64, name="window_shift") 45 window_shift=self._window_shift, 63 window_shift=None, argument 108 if stride is None and window_shift is None: 109 window_shift = 1 110 elif stride is not None and window_shift is None: 111 window_shift = stride 112 elif stride is not None and window_shift is not None: 116 return _SlideDataset(dataset, window_size, window_shift, window_stride)
|
/external/tensorflow/tensorflow/core/kernels/data/experimental/ |
D | sliding_window_dataset_op.cc | 44 int64 window_shift = 0; in MakeDataset() local 46 ctx, ParseScalarArgument<int64>(ctx, "window_shift", &window_shift)); in MakeDataset() 48 ctx, window_shift > 0, in MakeDataset() 56 if (window_size == window_shift && window_stride == 1) { in MakeDataset() 57 LOG(WARNING) << "window_shift: " << window_shift in MakeDataset() 61 *output = new Dataset(ctx, window_size, window_shift, window_stride, input); in MakeDataset() 67 Dataset(OpKernelContext* ctx, int64 window_size, int64 window_shift, in Dataset() argument 71 window_shift_(window_shift), in Dataset() 120 Node* window_shift = nullptr; in AsGraphDefInternal() local 123 TF_RETURN_IF_ERROR(b->AddScalar(window_shift_, &window_shift)); in AsGraphDefInternal() [all …]
|
/external/tensorflow/tensorflow/contrib/data/python/kernel_tests/ |
D | slide_dataset_op_test.py | 51 def testSlideDataset(self, count, window_size, window_shift, window_stride): argument 73 window_shift=window_shift_t, 87 window_shift_t: window_shift, 91 (window_size - 1) * window_stride + 1)) // window_shift + 1 97 component[(i * window_shift + j * window_stride) % 7]**2, 171 def testSlideDatasetInvalid(self, count, window_size, window_shift, argument 182 window_shift=window_shift_t, 193 window_shift_t: window_shift, 201 window_size=1, stride=1, window_shift=1, window_stride=1)) 211 sliding.sliding_window_batch(window_size=5, window_shift=3))) [all …]
|
/external/tensorflow/tensorflow/core/kernels/data/ |
D | window_dataset_op.cc | 41 int64 window_shift = 0; in MakeDataset() local 43 ParseScalarArgument<int64>(ctx, "shift", &window_shift)); in MakeDataset() 45 ctx, window_shift > 0, in MakeDataset() 59 *output = new Dataset(ctx, input, window_size, window_shift, window_stride, in MakeDataset() 67 int64 window_shift, int64 window_stride, bool drop_remainder) in Dataset() argument 71 window_shift_(window_shift), in Dataset() 146 const int64 window_shift = dataset()->window_shift_; in GetNextInternal() local 195 if (window_shift >= buffer_size) { in GetNextInternal() 196 for (size_t i = buffer_size; input_impl_ && i < window_shift; ++i) { in GetNextInternal() 210 for (size_t i = 0; i < window_shift; ++i) { in GetNextInternal() [all …]
|
/external/tensorflow/tensorflow/core/api_def/base_api/ |
D | api_def_ExperimentalSlidingWindowDataset.pbtxt | 12 name: "window_shift"
|
/external/tensorflow/tensorflow/tools/api/golden/v1/ |
D | tensorflow.raw_ops.pbtxt | 1165 …argspec: "args=[\'input_dataset\', \'window_size\', \'window_shift\', \'window_stride\', \'output_…
|
/external/tensorflow/tensorflow/tools/api/golden/v2/ |
D | tensorflow.raw_ops.pbtxt | 1165 …argspec: "args=[\'input_dataset\', \'window_size\', \'window_shift\', \'window_stride\', \'output_…
|
/external/tensorflow/tensorflow/go/op/ |
D | wrappers.go | 30784 …Dataset(scope *Scope, input_dataset tf.Output, window_size tf.Output, window_shift tf.Output, wind… 30792 input_dataset, window_size, window_shift, window_stride,
|
/external/tensorflow/tensorflow/core/ops/ |
D | ops.pbtxt | 12079 name: "window_shift"
|
/external/tensorflow/tensorflow/core/ops/compat/ |
D | ops_history.v1.pbtxt | 24883 name: "window_shift"
|
D | ops_history.v2.pbtxt | 24512 name: "window_shift"
|