Skip to content

Commit 9781be4

Browse files
Update ops-related pbtxt files.
Change: 149506695
1 parent daaa7e5 commit 9781be4

File tree

2 files changed

+216
-6
lines changed

2 files changed

+216
-6
lines changed

tensorflow/core/ops/compat/ops_history.v1.pbtxt

Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7499,6 +7499,51 @@ op {
74997499
type: DT_COMPLEX64
75007500
}
75017501
}
7502+
op {
7503+
name: "IRFFT"
7504+
input_arg {
7505+
name: "input"
7506+
type: DT_COMPLEX64
7507+
}
7508+
input_arg {
7509+
name: "fft_length"
7510+
type: DT_INT32
7511+
}
7512+
output_arg {
7513+
name: "output"
7514+
type: DT_FLOAT
7515+
}
7516+
}
7517+
op {
7518+
name: "IRFFT2D"
7519+
input_arg {
7520+
name: "input"
7521+
type: DT_COMPLEX64
7522+
}
7523+
input_arg {
7524+
name: "fft_length"
7525+
type: DT_INT32
7526+
}
7527+
output_arg {
7528+
name: "output"
7529+
type: DT_FLOAT
7530+
}
7531+
}
7532+
op {
7533+
name: "IRFFT3D"
7534+
input_arg {
7535+
name: "input"
7536+
type: DT_COMPLEX64
7537+
}
7538+
input_arg {
7539+
name: "fft_length"
7540+
type: DT_INT32
7541+
}
7542+
output_arg {
7543+
name: "output"
7544+
type: DT_FLOAT
7545+
}
7546+
}
75027547
op {
75037548
name: "Identity"
75047549
input_arg {
@@ -12631,6 +12676,51 @@ op {
1263112676
}
1263212677
is_stateful: true
1263312678
}
12679+
op {
12680+
name: "RFFT"
12681+
input_arg {
12682+
name: "input"
12683+
type: DT_FLOAT
12684+
}
12685+
input_arg {
12686+
name: "fft_length"
12687+
type: DT_INT32
12688+
}
12689+
output_arg {
12690+
name: "output"
12691+
type: DT_COMPLEX64
12692+
}
12693+
}
12694+
op {
12695+
name: "RFFT2D"
12696+
input_arg {
12697+
name: "input"
12698+
type: DT_FLOAT
12699+
}
12700+
input_arg {
12701+
name: "fft_length"
12702+
type: DT_INT32
12703+
}
12704+
output_arg {
12705+
name: "output"
12706+
type: DT_COMPLEX64
12707+
}
12708+
}
12709+
op {
12710+
name: "RFFT3D"
12711+
input_arg {
12712+
name: "input"
12713+
type: DT_FLOAT
12714+
}
12715+
input_arg {
12716+
name: "fft_length"
12717+
type: DT_INT32
12718+
}
12719+
output_arg {
12720+
name: "output"
12721+
type: DT_COMPLEX64
12722+
}
12723+
}
1263412724
op {
1263512725
name: "RGBToHSV"
1263612726
input_arg {

tensorflow/core/ops/ops.pbtxt

Lines changed: 126 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6933,7 +6933,7 @@ op {
69336933
}
69346934
output_arg {
69356935
name: "output"
6936-
description: "A complex64 tensor of the same shape as `input`. The inner-most\ndimension of `input` is replaced with its 1D Fourier Transform."
6936+
description: "A complex64 tensor of the same shape as `input`. The inner-most\n dimension of `input` is replaced with its 1D Fourier Transform.\n\n@compatibility(numpy)\nEquivalent to np.fft.fft\n@end_compatibility"
69376937
type: DT_COMPLEX64
69386938
}
69396939
summary: "Compute the 1-dimensional discrete Fourier Transform over the inner-most"
@@ -6948,7 +6948,7 @@ op {
69486948
}
69496949
output_arg {
69506950
name: "output"
6951-
description: "A complex64 tensor of the same shape as `input`. The inner-most 2\n dimensions of `input` are replaced with their 2D Fourier Transform.\n\n@compatibility(numpy)\nEquivalent to np.fft2\n@end_compatibility"
6951+
description: "A complex64 tensor of the same shape as `input`. The inner-most 2\n dimensions of `input` are replaced with their 2D Fourier Transform.\n\n@compatibility(numpy)\nEquivalent to np.fft.fft2\n@end_compatibility"
69526952
type: DT_COMPLEX64
69536953
}
69546954
summary: "Compute the 2-dimensional discrete Fourier Transform over the inner-most"
@@ -6963,7 +6963,7 @@ op {
69636963
}
69646964
output_arg {
69656965
name: "output"
6966-
description: "A complex64 tensor of the same shape as `input`. The inner-most 3\n dimensions of `input` are replaced with their 3D Fourier Transform.\n\n@compatibility(numpy)\nEquivalent to np.fft3\n@end_compatibility"
6966+
description: "A complex64 tensor of the same shape as `input`. The inner-most 3\n dimensions of `input` are replaced with their 3D Fourier Transform.\n\n@compatibility(numpy)\nEquivalent to np.fft.fftn with 3 dimensions.\n@end_compatibility"
69676967
type: DT_COMPLEX64
69686968
}
69696969
summary: "Compute the 3-dimensional discrete Fourier Transform over the inner-most 3"
@@ -8500,7 +8500,7 @@ op {
85008500
}
85018501
output_arg {
85028502
name: "output"
8503-
description: "A complex64 tensor of the same shape as `input`. The inner-most\ndimension of `input` is replaced with its inverse 1D Fourier Transform."
8503+
description: "A complex64 tensor of the same shape as `input`. The inner-most\n dimension of `input` is replaced with its inverse 1D Fourier Transform.\n\n@compatibility(numpy)\nEquivalent to np.fft.ifft\n@end_compatibility"
85048504
type: DT_COMPLEX64
85058505
}
85068506
summary: "Compute the inverse 1-dimensional discrete Fourier Transform over the inner-most"
@@ -8515,7 +8515,7 @@ op {
85158515
}
85168516
output_arg {
85178517
name: "output"
8518-
description: "A complex64 tensor of the same shape as `input`. The inner-most 2\n dimensions of `input` are replaced with their inverse 2D Fourier Transform.\n\n@compatibility(numpy)\nEquivalent to np.ifft2\n@end_compatibility"
8518+
description: "A complex64 tensor of the same shape as `input`. The inner-most 2\n dimensions of `input` are replaced with their inverse 2D Fourier Transform.\n\n@compatibility(numpy)\nEquivalent to np.fft.ifft2\n@end_compatibility"
85198519
type: DT_COMPLEX64
85208520
}
85218521
summary: "Compute the inverse 2-dimensional discrete Fourier Transform over the inner-most"
@@ -8530,12 +8530,72 @@ op {
85308530
}
85318531
output_arg {
85328532
name: "output"
8533-
description: "A complex64 tensor of the same shape as `input`. The inner-most 3\n dimensions of `input` are replaced with their inverse 3D Fourier Transform.\n\n@compatibility(numpy)\nEquivalent to np.fft3\n@end_compatibility"
8533+
description: "A complex64 tensor of the same shape as `input`. The inner-most 3\n dimensions of `input` are replaced with their inverse 3D Fourier Transform.\n\n@compatibility(numpy)\nEquivalent to np.fft.ifftn with 3 dimensions.\n@end_compatibility"
85348534
type: DT_COMPLEX64
85358535
}
85368536
summary: "Compute the inverse 3-dimensional discrete Fourier Transform over the inner-most"
85378537
description: "3 dimensions of `input`."
85388538
}
8539+
op {
8540+
name: "IRFFT"
8541+
input_arg {
8542+
name: "input"
8543+
description: "A complex64 tensor."
8544+
type: DT_COMPLEX64
8545+
}
8546+
input_arg {
8547+
name: "fft_length"
8548+
description: "An int32 tensor of shape [1]. The FFT length."
8549+
type: DT_INT32
8550+
}
8551+
output_arg {
8552+
name: "output"
8553+
description: "A float32 tensor of the same rank as `input`. The inner-most\n dimension of `input` is replaced with the `fft_length` samples of its inverse\n 1D Fourier Transform.\n\n@compatibility(numpy)\nEquivalent to np.fft.irfft\n@end_compatibility"
8554+
type: DT_FLOAT
8555+
}
8556+
summary: "Compute the inverse 1-dimensional discrete Fourier Transform of a real-valued"
8557+
description: "signal over the inner-most dimension of `input`.\n\nThe inner-most dimension of `input` is assumed to be the result of `RFFT`: the\n`fft_length / 2 + 1` unique components of the DFT of a real-valued signal. If\n`fft_length` is not provided, it is computed from the size of the inner-most\ndimension of `input` (`fft_length = 2 * (inner - 1)`). If the FFT length used to\ncompute `input` is odd, it should be provided since it cannot be inferred\nproperly."
8558+
}
8559+
op {
8560+
name: "IRFFT2D"
8561+
input_arg {
8562+
name: "input"
8563+
description: "A complex64 tensor."
8564+
type: DT_COMPLEX64
8565+
}
8566+
input_arg {
8567+
name: "fft_length"
8568+
description: "An int32 tensor of shape [2]. The FFT length for each dimension."
8569+
type: DT_INT32
8570+
}
8571+
output_arg {
8572+
name: "output"
8573+
description: "A float32 tensor of the same rank as `input`. The inner-most 2\n dimensions of `input` are replaced with the `fft_length` samples of their\n inverse 2D Fourier Transform.\n\n@compatibility(numpy)\nEquivalent to np.fft.irfft2\n@end_compatibility"
8574+
type: DT_FLOAT
8575+
}
8576+
summary: "Compute the inverse 2-dimensional discrete Fourier Transform of a real-valued"
8577+
description: "signal over the inner-most 2 dimensions of `input`.\n\nThe inner-most 2 dimensions of `input` are assumed to be the result of `RFFT2D`:\nThe inner-most dimension contains the `fft_length / 2 + 1` unique components of\nthe DFT of a real-valued signal. If `fft_length` is not provided, it is computed\nfrom the size of the inner-most 2 dimensions of `input`. If the FFT length used\nto compute `input` is odd, it should be provided since it cannot be inferred\nproperly."
8578+
}
8579+
op {
8580+
name: "IRFFT3D"
8581+
input_arg {
8582+
name: "input"
8583+
description: "A complex64 tensor."
8584+
type: DT_COMPLEX64
8585+
}
8586+
input_arg {
8587+
name: "fft_length"
8588+
description: "An int32 tensor of shape [3]. The FFT length for each dimension."
8589+
type: DT_INT32
8590+
}
8591+
output_arg {
8592+
name: "output"
8593+
description: "A float32 tensor of the same rank as `input`. The inner-most 3\n dimensions of `input` are replaced with the `fft_length` samples of their\n inverse 3D real Fourier Transform.\n\n@compatibility(numpy)\nEquivalent to np.irfftn with 3 dimensions.\n@end_compatibility"
8594+
type: DT_FLOAT
8595+
}
8596+
summary: "Compute the inverse 3-dimensional discrete Fourier Transform of a real-valued"
8597+
description: "signal over the inner-most 3 dimensions of `input`.\n\nThe inner-most 3 dimensions of `input` are assumed to be the result of `RFFT3D`:\nThe inner-most dimension contains the `fft_length / 2 + 1` unique components of\nthe DFT of a real-valued signal. If `fft_length` is not provided, it is computed\nfrom the size of the inner-most 3 dimensions of `input`. If the FFT length used\nto compute `input` is odd, it should be provided since it cannot be inferred\nproperly."
8598+
}
85398599
op {
85408600
name: "Identity"
85418601
input_arg {
@@ -14287,6 +14347,66 @@ op {
1428714347
summary: "Computes the number of elements in the given queue."
1428814348
is_stateful: true
1428914349
}
14350+
op {
14351+
name: "RFFT"
14352+
input_arg {
14353+
name: "input"
14354+
description: "A float32 tensor."
14355+
type: DT_FLOAT
14356+
}
14357+
input_arg {
14358+
name: "fft_length"
14359+
description: "An int32 tensor of shape [1]. The FFT length."
14360+
type: DT_INT32
14361+
}
14362+
output_arg {
14363+
name: "output"
14364+
description: "A complex64 tensor of the same rank as `input`. The inner-most\n dimension of `input` is replaced with the `fft_length / 2 + 1` unique\n frequency components of its 1D Fourier Transform.\n\n@compatibility(numpy)\nEquivalent to np.fft.rfft\n@end_compatibility"
14365+
type: DT_COMPLEX64
14366+
}
14367+
summary: "Compute the 1-dimensional discrete Fourier Transform of a real-valued signal"
14368+
description: "over the inner-most dimension of `input`.\n\nSince the DFT of a real signal is Hermitian-symmetric, `RFFT` only returns the\n`fft_length / 2 + 1` unique components of the FFT: the zero-frequency term,\nfollowed by the `fft_length / 2` positive-frequency terms."
14369+
}
14370+
op {
14371+
name: "RFFT2D"
14372+
input_arg {
14373+
name: "input"
14374+
description: "A float32 tensor."
14375+
type: DT_FLOAT
14376+
}
14377+
input_arg {
14378+
name: "fft_length"
14379+
description: "An int32 tensor of shape [2]. The FFT length for each dimension."
14380+
type: DT_INT32
14381+
}
14382+
output_arg {
14383+
name: "output"
14384+
description: "A complex64 tensor of the same rank as `input`. The inner-most 2\n dimensions of `input` are replaced with their 2D Fourier Transform. The\n inner-most dimension contains `fft_length / 2 + 1` unique frequency\n components.\n\n@compatibility(numpy)\nEquivalent to np.fft.rfft2\n@end_compatibility"
14385+
type: DT_COMPLEX64
14386+
}
14387+
summary: "Compute the 2-dimensional discrete Fourier Transform of a real-valued signal"
14388+
description: "over the inner-most 2 dimensions of `input`.\n\nSince the DFT of a real signal is Hermitian-symmetric, `RFFT2D` only returns the\n`fft_length / 2 + 1` unique components of the FFT for the inner-most dimension\nof `output`: the zero-frequency term, followed by the `fft_length / 2`\npositive-frequency terms."
14389+
}
14390+
op {
14391+
name: "RFFT3D"
14392+
input_arg {
14393+
name: "input"
14394+
description: "A float32 tensor."
14395+
type: DT_FLOAT
14396+
}
14397+
input_arg {
14398+
name: "fft_length"
14399+
description: "An int32 tensor of shape [3]. The FFT length for each dimension."
14400+
type: DT_INT32
14401+
}
14402+
output_arg {
14403+
name: "output"
14404+
description: "A complex64 tensor of the same rank as `input`. The inner-most 3\n dimensions of `input` are replaced with the their 3D Fourier Transform. The\n inner-most dimension contains `fft_length / 2 + 1` unique frequency\n components.\n\n@compatibility(numpy)\nEquivalent to np.fft.rfftn with 3 dimensions.\n@end_compatibility"
14405+
type: DT_COMPLEX64
14406+
}
14407+
summary: "Compute the 3-dimensional discrete Fourier Transform of a real-valued signal"
14408+
description: "over the inner-most 3 dimensions of `input`.\n\nSince the DFT of a real signal is Hermitian-symmetric, `RFFT3D` only returns the\n`fft_length / 2 + 1` unique components of the FFT for the inner-most dimension\nof `output`: the zero-frequency term, followed by the `fft_length / 2`\npositive-frequency terms."
14409+
}
1429014410
op {
1429114411
name: "RGBToHSV"
1429214412
input_arg {

0 commit comments

Comments
 (0)