Go: Update generated wrapper functions for TensorFlow ops.
PiperOrigin-RevId: 306107717 Change-Id: I6c1c20d404804938ac92542bf697d35217836341
This commit is contained in:
parent
68f274a8a5
commit
c6bfd60ab1
|
@ -12005,7 +12005,7 @@ func SampleDistortedBoundingBoxMinObjectCovered(value float32) SampleDistortedBo
|
||||||
//
|
//
|
||||||
// value: The cropped area of the image must have an aspect ratio =
|
// value: The cropped area of the image must have an aspect ratio =
|
||||||
// width / height within this range.
|
// width / height within this range.
|
||||||
// If not specified, defaults to {f:0.75 f:1.33}
|
// If not specified, defaults to {f:0.75 f:1.33}
|
||||||
func SampleDistortedBoundingBoxAspectRatioRange(value []float32) SampleDistortedBoundingBoxAttr {
|
func SampleDistortedBoundingBoxAspectRatioRange(value []float32) SampleDistortedBoundingBoxAttr {
|
||||||
return func(m optionalAttr) {
|
return func(m optionalAttr) {
|
||||||
m["aspect_ratio_range"] = value
|
m["aspect_ratio_range"] = value
|
||||||
|
@ -12016,7 +12016,7 @@ func SampleDistortedBoundingBoxAspectRatioRange(value []float32) SampleDistorted
|
||||||
//
|
//
|
||||||
// value: The cropped area of the image must contain a fraction of the
|
// value: The cropped area of the image must contain a fraction of the
|
||||||
// supplied image within this range.
|
// supplied image within this range.
|
||||||
// If not specified, defaults to {f:0.05 f:1}
|
// If not specified, defaults to {f:0.05 f:1}
|
||||||
func SampleDistortedBoundingBoxAreaRange(value []float32) SampleDistortedBoundingBoxAttr {
|
func SampleDistortedBoundingBoxAreaRange(value []float32) SampleDistortedBoundingBoxAttr {
|
||||||
return func(m optionalAttr) {
|
return func(m optionalAttr) {
|
||||||
m["area_range"] = value
|
m["area_range"] = value
|
||||||
|
@ -18623,7 +18623,7 @@ func SampleDistortedBoundingBoxV2Seed2(value int64) SampleDistortedBoundingBoxV2
|
||||||
//
|
//
|
||||||
// value: The cropped area of the image must have an aspect ratio =
|
// value: The cropped area of the image must have an aspect ratio =
|
||||||
// width / height within this range.
|
// width / height within this range.
|
||||||
// If not specified, defaults to {f:0.75 f:1.33}
|
// If not specified, defaults to {f:0.75 f:1.33}
|
||||||
func SampleDistortedBoundingBoxV2AspectRatioRange(value []float32) SampleDistortedBoundingBoxV2Attr {
|
func SampleDistortedBoundingBoxV2AspectRatioRange(value []float32) SampleDistortedBoundingBoxV2Attr {
|
||||||
return func(m optionalAttr) {
|
return func(m optionalAttr) {
|
||||||
m["aspect_ratio_range"] = value
|
m["aspect_ratio_range"] = value
|
||||||
|
@ -18634,7 +18634,7 @@ func SampleDistortedBoundingBoxV2AspectRatioRange(value []float32) SampleDistort
|
||||||
//
|
//
|
||||||
// value: The cropped area of the image must contain a fraction of the
|
// value: The cropped area of the image must contain a fraction of the
|
||||||
// supplied image within this range.
|
// supplied image within this range.
|
||||||
// If not specified, defaults to {f:0.05 f:1}
|
// If not specified, defaults to {f:0.05 f:1}
|
||||||
func SampleDistortedBoundingBoxV2AreaRange(value []float32) SampleDistortedBoundingBoxV2Attr {
|
func SampleDistortedBoundingBoxV2AreaRange(value []float32) SampleDistortedBoundingBoxV2Attr {
|
||||||
return func(m optionalAttr) {
|
return func(m optionalAttr) {
|
||||||
m["area_range"] = value
|
m["area_range"] = value
|
||||||
|
@ -19038,7 +19038,7 @@ func ImageSummaryMaxImages(value int64) ImageSummaryAttr {
|
||||||
// ImageSummaryBadColor sets the optional bad_color attribute to value.
|
// ImageSummaryBadColor sets the optional bad_color attribute to value.
|
||||||
//
|
//
|
||||||
// value: Color to use for pixels with non-finite values.
|
// value: Color to use for pixels with non-finite values.
|
||||||
// If not specified, defaults to {dtype:DT_UINT8 tensor_shape:{dim:{size:4}} int_val:255 int_val:0 int_val:0 int_val:255}
|
// If not specified, defaults to {dtype:DT_UINT8 tensor_shape:{dim:{size:4}} int_val:255 int_val:0 int_val:0 int_val:255}
|
||||||
func ImageSummaryBadColor(value tf.Tensor) ImageSummaryAttr {
|
func ImageSummaryBadColor(value tf.Tensor) ImageSummaryAttr {
|
||||||
return func(m optionalAttr) {
|
return func(m optionalAttr) {
|
||||||
m["bad_color"] = value
|
m["bad_color"] = value
|
||||||
|
@ -20109,7 +20109,7 @@ func Conv3DBackpropFilterV2DataFormat(value string) Conv3DBackpropFilterV2Attr {
|
||||||
// filter element on that dimension. The dimension order is determined by the
|
// filter element on that dimension. The dimension order is determined by the
|
||||||
// value of `data_format`, see above for details. Dilations in the batch and
|
// value of `data_format`, see above for details. Dilations in the batch and
|
||||||
// depth dimensions must be 1.
|
// depth dimensions must be 1.
|
||||||
// If not specified, defaults to {i:1 i:1 i:1 i:1 i:1}
|
// If not specified, defaults to {i:1 i:1 i:1 i:1 i:1}
|
||||||
func Conv3DBackpropFilterV2Dilations(value []int64) Conv3DBackpropFilterV2Attr {
|
func Conv3DBackpropFilterV2Dilations(value []int64) Conv3DBackpropFilterV2Attr {
|
||||||
return func(m optionalAttr) {
|
return func(m optionalAttr) {
|
||||||
m["dilations"] = value
|
m["dilations"] = value
|
||||||
|
@ -21281,7 +21281,7 @@ func Conv2DBackpropInputDataFormat(value string) Conv2DBackpropInputAttr {
|
||||||
// element on that dimension. The dimension order is determined by the value of
|
// element on that dimension. The dimension order is determined by the value of
|
||||||
// `data_format`, see above for details. Dilations in the batch and depth
|
// `data_format`, see above for details. Dilations in the batch and depth
|
||||||
// dimensions must be 1.
|
// dimensions must be 1.
|
||||||
// If not specified, defaults to {i:1 i:1 i:1 i:1}
|
// If not specified, defaults to {i:1 i:1 i:1 i:1}
|
||||||
func Conv2DBackpropInputDilations(value []int64) Conv2DBackpropInputAttr {
|
func Conv2DBackpropInputDilations(value []int64) Conv2DBackpropInputAttr {
|
||||||
return func(m optionalAttr) {
|
return func(m optionalAttr) {
|
||||||
m["dilations"] = value
|
m["dilations"] = value
|
||||||
|
@ -21989,7 +21989,7 @@ func Conv2DDataFormat(value string) Conv2DAttr {
|
||||||
// filter element on that dimension. The dimension order is determined by the
|
// filter element on that dimension. The dimension order is determined by the
|
||||||
// value of `data_format`, see above for details. Dilations in the batch and
|
// value of `data_format`, see above for details. Dilations in the batch and
|
||||||
// depth dimensions must be 1.
|
// depth dimensions must be 1.
|
||||||
// If not specified, defaults to {i:1 i:1 i:1 i:1}
|
// If not specified, defaults to {i:1 i:1 i:1 i:1}
|
||||||
func Conv2DDilations(value []int64) Conv2DAttr {
|
func Conv2DDilations(value []int64) Conv2DAttr {
|
||||||
return func(m optionalAttr) {
|
return func(m optionalAttr) {
|
||||||
m["dilations"] = value
|
m["dilations"] = value
|
||||||
|
@ -22185,7 +22185,7 @@ func QuantizedDepthwiseConv2DWithBiasAndReluAndRequantizeOutType(value tf.DataTy
|
||||||
// QuantizedDepthwiseConv2DWithBiasAndReluAndRequantizeDilations sets the optional dilations attribute to value.
|
// QuantizedDepthwiseConv2DWithBiasAndReluAndRequantizeDilations sets the optional dilations attribute to value.
|
||||||
//
|
//
|
||||||
// value: List of dilation values.
|
// value: List of dilation values.
|
||||||
// If not specified, defaults to {i:1 i:1 i:1 i:1}
|
// If not specified, defaults to {i:1 i:1 i:1 i:1}
|
||||||
func QuantizedDepthwiseConv2DWithBiasAndReluAndRequantizeDilations(value []int64) QuantizedDepthwiseConv2DWithBiasAndReluAndRequantizeAttr {
|
func QuantizedDepthwiseConv2DWithBiasAndReluAndRequantizeDilations(value []int64) QuantizedDepthwiseConv2DWithBiasAndReluAndRequantizeAttr {
|
||||||
return func(m optionalAttr) {
|
return func(m optionalAttr) {
|
||||||
m["dilations"] = value
|
m["dilations"] = value
|
||||||
|
@ -22254,7 +22254,7 @@ func QuantizedDepthwiseConv2DWithBiasAndReluOutType(value tf.DataType) Quantized
|
||||||
// QuantizedDepthwiseConv2DWithBiasAndReluDilations sets the optional dilations attribute to value.
|
// QuantizedDepthwiseConv2DWithBiasAndReluDilations sets the optional dilations attribute to value.
|
||||||
//
|
//
|
||||||
// value: List of dilation values.
|
// value: List of dilation values.
|
||||||
// If not specified, defaults to {i:1 i:1 i:1 i:1}
|
// If not specified, defaults to {i:1 i:1 i:1 i:1}
|
||||||
func QuantizedDepthwiseConv2DWithBiasAndReluDilations(value []int64) QuantizedDepthwiseConv2DWithBiasAndReluAttr {
|
func QuantizedDepthwiseConv2DWithBiasAndReluDilations(value []int64) QuantizedDepthwiseConv2DWithBiasAndReluAttr {
|
||||||
return func(m optionalAttr) {
|
return func(m optionalAttr) {
|
||||||
m["dilations"] = value
|
m["dilations"] = value
|
||||||
|
@ -22369,7 +22369,7 @@ func QuantizedDepthwiseConv2DWithBiasOutType(value tf.DataType) QuantizedDepthwi
|
||||||
// QuantizedDepthwiseConv2DWithBiasDilations sets the optional dilations attribute to value.
|
// QuantizedDepthwiseConv2DWithBiasDilations sets the optional dilations attribute to value.
|
||||||
//
|
//
|
||||||
// value: List of dilation values.
|
// value: List of dilation values.
|
||||||
// If not specified, defaults to {i:1 i:1 i:1 i:1}
|
// If not specified, defaults to {i:1 i:1 i:1 i:1}
|
||||||
func QuantizedDepthwiseConv2DWithBiasDilations(value []int64) QuantizedDepthwiseConv2DWithBiasAttr {
|
func QuantizedDepthwiseConv2DWithBiasDilations(value []int64) QuantizedDepthwiseConv2DWithBiasAttr {
|
||||||
return func(m optionalAttr) {
|
return func(m optionalAttr) {
|
||||||
m["dilations"] = value
|
m["dilations"] = value
|
||||||
|
@ -22428,7 +22428,7 @@ func QuantizedDepthwiseConv2DOutType(value tf.DataType) QuantizedDepthwiseConv2D
|
||||||
// QuantizedDepthwiseConv2DDilations sets the optional dilations attribute to value.
|
// QuantizedDepthwiseConv2DDilations sets the optional dilations attribute to value.
|
||||||
//
|
//
|
||||||
// value: List of dilation values.
|
// value: List of dilation values.
|
||||||
// If not specified, defaults to {i:1 i:1 i:1 i:1}
|
// If not specified, defaults to {i:1 i:1 i:1 i:1}
|
||||||
func QuantizedDepthwiseConv2DDilations(value []int64) QuantizedDepthwiseConv2DAttr {
|
func QuantizedDepthwiseConv2DDilations(value []int64) QuantizedDepthwiseConv2DAttr {
|
||||||
return func(m optionalAttr) {
|
return func(m optionalAttr) {
|
||||||
m["dilations"] = value
|
m["dilations"] = value
|
||||||
|
@ -22602,7 +22602,7 @@ func QuantizedConv2DPerChannelOutType(value tf.DataType) QuantizedConv2DPerChann
|
||||||
// QuantizedConv2DPerChannelDilations sets the optional dilations attribute to value.
|
// QuantizedConv2DPerChannelDilations sets the optional dilations attribute to value.
|
||||||
//
|
//
|
||||||
// value: list of dilation values.
|
// value: list of dilation values.
|
||||||
// If not specified, defaults to {i:1 i:1 i:1 i:1}
|
// If not specified, defaults to {i:1 i:1 i:1 i:1}
|
||||||
func QuantizedConv2DPerChannelDilations(value []int64) QuantizedConv2DPerChannelAttr {
|
func QuantizedConv2DPerChannelDilations(value []int64) QuantizedConv2DPerChannelAttr {
|
||||||
return func(m optionalAttr) {
|
return func(m optionalAttr) {
|
||||||
m["dilations"] = value
|
m["dilations"] = value
|
||||||
|
@ -22979,7 +22979,7 @@ func Conv3DBackpropInputV2DataFormat(value string) Conv3DBackpropInputV2Attr {
|
||||||
// filter element on that dimension. The dimension order is determined by the
|
// filter element on that dimension. The dimension order is determined by the
|
||||||
// value of `data_format`, see above for details. Dilations in the batch and
|
// value of `data_format`, see above for details. Dilations in the batch and
|
||||||
// depth dimensions must be 1.
|
// depth dimensions must be 1.
|
||||||
// If not specified, defaults to {i:1 i:1 i:1 i:1 i:1}
|
// If not specified, defaults to {i:1 i:1 i:1 i:1 i:1}
|
||||||
func Conv3DBackpropInputV2Dilations(value []int64) Conv3DBackpropInputV2Attr {
|
func Conv3DBackpropInputV2Dilations(value []int64) Conv3DBackpropInputV2Attr {
|
||||||
return func(m optionalAttr) {
|
return func(m optionalAttr) {
|
||||||
m["dilations"] = value
|
m["dilations"] = value
|
||||||
|
@ -25299,7 +25299,7 @@ func AvgPool3DGrad(scope *Scope, orig_input_shape tf.Output, grad tf.Output, ksi
|
||||||
type Conv3DBackpropFilterAttr func(optionalAttr)
|
type Conv3DBackpropFilterAttr func(optionalAttr)
|
||||||
|
|
||||||
// Conv3DBackpropFilterDilations sets the optional dilations attribute to value.
|
// Conv3DBackpropFilterDilations sets the optional dilations attribute to value.
|
||||||
// If not specified, defaults to {i:1 i:1 i:1 i:1 i:1}
|
// If not specified, defaults to {i:1 i:1 i:1 i:1 i:1}
|
||||||
func Conv3DBackpropFilterDilations(value []int64) Conv3DBackpropFilterAttr {
|
func Conv3DBackpropFilterDilations(value []int64) Conv3DBackpropFilterAttr {
|
||||||
return func(m optionalAttr) {
|
return func(m optionalAttr) {
|
||||||
m["dilations"] = value
|
m["dilations"] = value
|
||||||
|
@ -25362,7 +25362,7 @@ func Conv3DDataFormat(value string) Conv3DAttr {
|
||||||
// filter element on that dimension. The dimension order is determined by the
|
// filter element on that dimension. The dimension order is determined by the
|
||||||
// value of `data_format`, see above for details. Dilations in the batch and
|
// value of `data_format`, see above for details. Dilations in the batch and
|
||||||
// depth dimensions must be 1.
|
// depth dimensions must be 1.
|
||||||
// If not specified, defaults to {i:1 i:1 i:1 i:1 i:1}
|
// If not specified, defaults to {i:1 i:1 i:1 i:1 i:1}
|
||||||
func Conv3DDilations(value []int64) Conv3DAttr {
|
func Conv3DDilations(value []int64) Conv3DAttr {
|
||||||
return func(m optionalAttr) {
|
return func(m optionalAttr) {
|
||||||
m["dilations"] = value
|
m["dilations"] = value
|
||||||
|
@ -25613,7 +25613,7 @@ func DepthwiseConv2dNativeBackpropInputDataFormat(value string) DepthwiseConv2dN
|
||||||
// element on that dimension. The dimension order is determined by the value of
|
// element on that dimension. The dimension order is determined by the value of
|
||||||
// `data_format`, see above for details. Dilations in the batch and depth
|
// `data_format`, see above for details. Dilations in the batch and depth
|
||||||
// dimensions must be 1.
|
// dimensions must be 1.
|
||||||
// If not specified, defaults to {i:1 i:1 i:1 i:1}
|
// If not specified, defaults to {i:1 i:1 i:1 i:1}
|
||||||
func DepthwiseConv2dNativeBackpropInputDilations(value []int64) DepthwiseConv2dNativeBackpropInputAttr {
|
func DepthwiseConv2dNativeBackpropInputDilations(value []int64) DepthwiseConv2dNativeBackpropInputAttr {
|
||||||
return func(m optionalAttr) {
|
return func(m optionalAttr) {
|
||||||
m["dilations"] = value
|
m["dilations"] = value
|
||||||
|
@ -26097,7 +26097,7 @@ func QuantizedConv2DOutType(value tf.DataType) QuantizedConv2DAttr {
|
||||||
// filter element on that dimension. The dimension order is determined by the
|
// filter element on that dimension. The dimension order is determined by the
|
||||||
// value of `data_format`, see above for details. Dilations in the batch and
|
// value of `data_format`, see above for details. Dilations in the batch and
|
||||||
// depth dimensions must be 1.
|
// depth dimensions must be 1.
|
||||||
// If not specified, defaults to {i:1 i:1 i:1 i:1}
|
// If not specified, defaults to {i:1 i:1 i:1 i:1}
|
||||||
func QuantizedConv2DDilations(value []int64) QuantizedConv2DAttr {
|
func QuantizedConv2DDilations(value []int64) QuantizedConv2DAttr {
|
||||||
return func(m optionalAttr) {
|
return func(m optionalAttr) {
|
||||||
m["dilations"] = value
|
m["dilations"] = value
|
||||||
|
@ -40350,7 +40350,7 @@ func DepthwiseConv2dNativeBackpropFilterDataFormat(value string) DepthwiseConv2d
|
||||||
// element on that dimension. The dimension order is determined by the value of
|
// element on that dimension. The dimension order is determined by the value of
|
||||||
// `data_format`, see above for details. Dilations in the batch and depth
|
// `data_format`, see above for details. Dilations in the batch and depth
|
||||||
// dimensions must be 1.
|
// dimensions must be 1.
|
||||||
// If not specified, defaults to {i:1 i:1 i:1 i:1}
|
// If not specified, defaults to {i:1 i:1 i:1 i:1}
|
||||||
func DepthwiseConv2dNativeBackpropFilterDilations(value []int64) DepthwiseConv2dNativeBackpropFilterAttr {
|
func DepthwiseConv2dNativeBackpropFilterDilations(value []int64) DepthwiseConv2dNativeBackpropFilterAttr {
|
||||||
return func(m optionalAttr) {
|
return func(m optionalAttr) {
|
||||||
m["dilations"] = value
|
m["dilations"] = value
|
||||||
|
@ -45847,7 +45847,7 @@ func Conv2DBackpropFilterDataFormat(value string) Conv2DBackpropFilterAttr {
|
||||||
// element on that dimension. The dimension order is determined by the value of
|
// element on that dimension. The dimension order is determined by the value of
|
||||||
// `data_format`, see above for details. Dilations in the batch and depth
|
// `data_format`, see above for details. Dilations in the batch and depth
|
||||||
// dimensions must be 1.
|
// dimensions must be 1.
|
||||||
// If not specified, defaults to {i:1 i:1 i:1 i:1}
|
// If not specified, defaults to {i:1 i:1 i:1 i:1}
|
||||||
func Conv2DBackpropFilterDilations(value []int64) Conv2DBackpropFilterAttr {
|
func Conv2DBackpropFilterDilations(value []int64) Conv2DBackpropFilterAttr {
|
||||||
return func(m optionalAttr) {
|
return func(m optionalAttr) {
|
||||||
m["dilations"] = value
|
m["dilations"] = value
|
||||||
|
@ -46824,7 +46824,7 @@ func LoadTPUEmbeddingFTRLParameters(scope *Scope, parameters tf.Output, accumula
|
||||||
type Conv3DBackpropInputAttr func(optionalAttr)
|
type Conv3DBackpropInputAttr func(optionalAttr)
|
||||||
|
|
||||||
// Conv3DBackpropInputDilations sets the optional dilations attribute to value.
|
// Conv3DBackpropInputDilations sets the optional dilations attribute to value.
|
||||||
// If not specified, defaults to {i:1 i:1 i:1 i:1 i:1}
|
// If not specified, defaults to {i:1 i:1 i:1 i:1 i:1}
|
||||||
func Conv3DBackpropInputDilations(value []int64) Conv3DBackpropInputAttr {
|
func Conv3DBackpropInputDilations(value []int64) Conv3DBackpropInputAttr {
|
||||||
return func(m optionalAttr) {
|
return func(m optionalAttr) {
|
||||||
m["dilations"] = value
|
m["dilations"] = value
|
||||||
|
@ -46895,7 +46895,7 @@ func DepthwiseConv2dNativeDataFormat(value string) DepthwiseConv2dNativeAttr {
|
||||||
// element on that dimension. The dimension order is determined by the value of
|
// element on that dimension. The dimension order is determined by the value of
|
||||||
// `data_format`, see above for details. Dilations in the batch and depth
|
// `data_format`, see above for details. Dilations in the batch and depth
|
||||||
// dimensions must be 1.
|
// dimensions must be 1.
|
||||||
// If not specified, defaults to {i:1 i:1 i:1 i:1}
|
// If not specified, defaults to {i:1 i:1 i:1 i:1}
|
||||||
func DepthwiseConv2dNativeDilations(value []int64) DepthwiseConv2dNativeAttr {
|
func DepthwiseConv2dNativeDilations(value []int64) DepthwiseConv2dNativeAttr {
|
||||||
return func(m optionalAttr) {
|
return func(m optionalAttr) {
|
||||||
m["dilations"] = value
|
m["dilations"] = value
|
||||||
|
|
Loading…
Reference in New Issue