Go: Update generated wrapper functions for TensorFlow ops.
PiperOrigin-RevId: 183342483
This commit is contained in:
parent
83ea281804
commit
e4912296bc
@ -2589,10 +2589,10 @@ type ResizeBicubicAttr func(optionalAttr)
|
|||||||
|
|
||||||
// ResizeBicubicAlignCorners sets the optional align_corners attribute to value.
|
// ResizeBicubicAlignCorners sets the optional align_corners attribute to value.
|
||||||
//
|
//
|
||||||
// value: If true, the centers of the 4 corner pixels of the input and output images are
|
// value: If true, rescale input by (new_height - 1) / (height - 1), which
|
||||||
// aligned, preserving the values at the corner pixels. If false, rescale by
|
// exactly aligns the 4 corners of images and resized images. If false, rescale
|
||||||
// new_height / height, new_width / width.
|
// by new_height / height. Treat similarly the width dimension.
|
||||||
// If not specified, defaults to false.
|
// If not specified, defaults to false
|
||||||
func ResizeBicubicAlignCorners(value bool) ResizeBicubicAttr {
|
func ResizeBicubicAlignCorners(value bool) ResizeBicubicAttr {
|
||||||
return func(m optionalAttr) {
|
return func(m optionalAttr) {
|
||||||
m["align_corners"] = value
|
m["align_corners"] = value
|
||||||
@ -5817,9 +5817,10 @@ type ResizeBilinearGradAttr func(optionalAttr)
|
|||||||
|
|
||||||
// ResizeBilinearGradAlignCorners sets the optional align_corners attribute to value.
|
// ResizeBilinearGradAlignCorners sets the optional align_corners attribute to value.
|
||||||
//
|
//
|
||||||
// value: If true, the centers of the 4 corner pixels of the grads and the original_image are
|
// value: If true, rescale grads by (orig_height - 1) / (height - 1), which
|
||||||
// aligned. If false, rescale by new_height / height, new_width / width.
|
// exactly aligns the 4 corners of grads and original_image. If false, rescale by
|
||||||
// If not specified, defaults to false.
|
// orig_height / height. Treat similarly the width dimension.
|
||||||
|
// If not specified, defaults to false
|
||||||
func ResizeBilinearGradAlignCorners(value bool) ResizeBilinearGradAttr {
|
func ResizeBilinearGradAlignCorners(value bool) ResizeBilinearGradAttr {
|
||||||
return func(m optionalAttr) {
|
return func(m optionalAttr) {
|
||||||
m["align_corners"] = value
|
m["align_corners"] = value
|
||||||
@ -6386,10 +6387,10 @@ type ResizeBilinearAttr func(optionalAttr)
|
|||||||
|
|
||||||
// ResizeBilinearAlignCorners sets the optional align_corners attribute to value.
|
// ResizeBilinearAlignCorners sets the optional align_corners attribute to value.
|
||||||
//
|
//
|
||||||
// value: If true, the centers of the 4 corner pixels of the input and output images are
|
// value: If true, rescale input by (new_height - 1) / (height - 1), which
|
||||||
// aligned, preserving the values at the corner pixels. If false, rescale by
|
// exactly aligns the 4 corners of images and resized images. If false, rescale
|
||||||
// new_height / height, new_width / width.
|
// by new_height / height. Treat similarly the width dimension.
|
||||||
// If not specified, defaults to false.
|
// If not specified, defaults to false
|
||||||
func ResizeBilinearAlignCorners(value bool) ResizeBilinearAttr {
|
func ResizeBilinearAlignCorners(value bool) ResizeBilinearAttr {
|
||||||
return func(m optionalAttr) {
|
return func(m optionalAttr) {
|
||||||
m["align_corners"] = value
|
m["align_corners"] = value
|
||||||
@ -7381,10 +7382,10 @@ type ResizeAreaAttr func(optionalAttr)
|
|||||||
|
|
||||||
// ResizeAreaAlignCorners sets the optional align_corners attribute to value.
|
// ResizeAreaAlignCorners sets the optional align_corners attribute to value.
|
||||||
//
|
//
|
||||||
// value: If true, the centers of the 4 corner pixels of the input and output images are
|
// value: If true, rescale input by (new_height - 1) / (height - 1), which
|
||||||
// aligned, preserving the values at the corner pixels. If false, rescale by
|
// exactly aligns the 4 corners of images and resized images. If false, rescale
|
||||||
// new_height / height, new_width / width.
|
// by new_height / height. Treat similarly the width dimension.
|
||||||
// If not specified, defaults to false.
|
// If not specified, defaults to false
|
||||||
func ResizeAreaAlignCorners(value bool) ResizeAreaAttr {
|
func ResizeAreaAlignCorners(value bool) ResizeAreaAttr {
|
||||||
return func(m optionalAttr) {
|
return func(m optionalAttr) {
|
||||||
m["align_corners"] = value
|
m["align_corners"] = value
|
||||||
@ -13687,10 +13688,10 @@ type FusedResizeAndPadConv2DAttr func(optionalAttr)
|
|||||||
|
|
||||||
// FusedResizeAndPadConv2DResizeAlignCorners sets the optional resize_align_corners attribute to value.
|
// FusedResizeAndPadConv2DResizeAlignCorners sets the optional resize_align_corners attribute to value.
|
||||||
//
|
//
|
||||||
// value: If true, the centers of the 4 corner pixels of the input and output images are
|
// value: If true, rescale input by (new_height - 1) / (height - 1),
|
||||||
// aligned, preserving the values at the corner pixels. If false, rescale by
|
// which exactly aligns the 4 corners of images and resized images. If false, rescale
|
||||||
// new_height / height, new_width / width.
|
// by new_height / height. Treat similarly the width dimension.
|
||||||
// If not specified, defaults to false.
|
// If not specified, defaults to false
|
||||||
func FusedResizeAndPadConv2DResizeAlignCorners(value bool) FusedResizeAndPadConv2DAttr {
|
func FusedResizeAndPadConv2DResizeAlignCorners(value bool) FusedResizeAndPadConv2DAttr {
|
||||||
return func(m optionalAttr) {
|
return func(m optionalAttr) {
|
||||||
m["resize_align_corners"] = value
|
m["resize_align_corners"] = value
|
||||||
@ -13832,10 +13833,10 @@ type QuantizedResizeBilinearAttr func(optionalAttr)
|
|||||||
|
|
||||||
// QuantizedResizeBilinearAlignCorners sets the optional align_corners attribute to value.
|
// QuantizedResizeBilinearAlignCorners sets the optional align_corners attribute to value.
|
||||||
//
|
//
|
||||||
// value: If true, the centers of the 4 corner pixels of the input and output images are
|
// value: If true, rescale input by (new_height - 1) / (height - 1), which
|
||||||
// aligned, preserving the values at the corner pixels. If false, rescale by
|
// exactly aligns the 4 corners of images and resized images. If false, rescale
|
||||||
// new_height / height, new_width / width.
|
// by new_height / height. Treat similarly the width dimension.
|
||||||
// If not specified, defaults to false.
|
// If not specified, defaults to false
|
||||||
func QuantizedResizeBilinearAlignCorners(value bool) QuantizedResizeBilinearAttr {
|
func QuantizedResizeBilinearAlignCorners(value bool) QuantizedResizeBilinearAttr {
|
||||||
return func(m optionalAttr) {
|
return func(m optionalAttr) {
|
||||||
m["align_corners"] = value
|
m["align_corners"] = value
|
||||||
@ -18667,9 +18668,10 @@ type ResizeBicubicGradAttr func(optionalAttr)
|
|||||||
|
|
||||||
// ResizeBicubicGradAlignCorners sets the optional align_corners attribute to value.
|
// ResizeBicubicGradAlignCorners sets the optional align_corners attribute to value.
|
||||||
//
|
//
|
||||||
// value: If true, the centers of the 4 corner pixels of the grads and the original_image are
|
// value: If true, rescale grads by (orig_height - 1) / (height - 1), which
|
||||||
// aligned. If false, rescale by new_height / height, new_width / width.
|
// exactly aligns the 4 corners of grads and original_image. If false, rescale by
|
||||||
// If not specified, defaults to false.
|
// orig_height / height. Treat similarly the width dimension.
|
||||||
|
// If not specified, defaults to false
|
||||||
func ResizeBicubicGradAlignCorners(value bool) ResizeBicubicGradAttr {
|
func ResizeBicubicGradAlignCorners(value bool) ResizeBicubicGradAttr {
|
||||||
return func(m optionalAttr) {
|
return func(m optionalAttr) {
|
||||||
m["align_corners"] = value
|
m["align_corners"] = value
|
||||||
@ -18710,10 +18712,10 @@ type ResizeNearestNeighborAttr func(optionalAttr)
|
|||||||
|
|
||||||
// ResizeNearestNeighborAlignCorners sets the optional align_corners attribute to value.
|
// ResizeNearestNeighborAlignCorners sets the optional align_corners attribute to value.
|
||||||
//
|
//
|
||||||
// value: If true, the centers of the 4 corner pixels of the input and output images are
|
// value: If true, rescale input by (new_height - 1) / (height - 1), which
|
||||||
// aligned, preserving the values at the corner pixels. If false, rescale by
|
// exactly aligns the 4 corners of images and resized images. If false, rescale
|
||||||
// new_height / height, new_width / width.
|
// by new_height / height. Treat similarly the width dimension.
|
||||||
// If not specified, defaults to false.
|
// If not specified, defaults to false
|
||||||
func ResizeNearestNeighborAlignCorners(value bool) ResizeNearestNeighborAttr {
|
func ResizeNearestNeighborAlignCorners(value bool) ResizeNearestNeighborAttr {
|
||||||
return func(m optionalAttr) {
|
return func(m optionalAttr) {
|
||||||
m["align_corners"] = value
|
m["align_corners"] = value
|
||||||
@ -18753,9 +18755,10 @@ type ResizeNearestNeighborGradAttr func(optionalAttr)
|
|||||||
|
|
||||||
// ResizeNearestNeighborGradAlignCorners sets the optional align_corners attribute to value.
|
// ResizeNearestNeighborGradAlignCorners sets the optional align_corners attribute to value.
|
||||||
//
|
//
|
||||||
// value: If true, the centers of the 4 corner pixels of the grads and the original_image are
|
// value: If true, rescale grads by (orig_height - 1) / (height - 1), which
|
||||||
// aligned. If false, rescale by new_height / height, new_width / width.
|
// exactly aligns the 4 corners of grads and original_image. If false, rescale by
|
||||||
// If not specified, defaults to false.
|
// orig_height / height. Treat similarly the width dimension.
|
||||||
|
// If not specified, defaults to false
|
||||||
func ResizeNearestNeighborGradAlignCorners(value bool) ResizeNearestNeighborGradAttr {
|
func ResizeNearestNeighborGradAlignCorners(value bool) ResizeNearestNeighborGradAttr {
|
||||||
return func(m optionalAttr) {
|
return func(m optionalAttr) {
|
||||||
m["align_corners"] = value
|
m["align_corners"] = value
|
||||||
|
Loading…
Reference in New Issue
Block a user