@@ -189,7 +189,7 @@ type DecodeJpegAttr func(optionalAttr)
189
189
// DecodeJpegChannels sets the optional channels attribute to value.
190
190
//
191
191
// value: Number of color channels for the decoded image.
192
- // If not specified, defaults to i: 0
192
+ // If not specified, defaults to 0
193
193
func DecodeJpegChannels(value int64) DecodeJpegAttr {
194
194
return func(m optionalAttr) {
195
195
m["channels"] = value
@@ -200,7 +200,7 @@ func DecodeJpegChannels(value int64) DecodeJpegAttr {
200
200
//
201
201
// value: If true use a slower but nicer upscaling of the
202
202
// chroma planes (yuv420/422 only).
203
- // If not specified, defaults to b: true
203
+ // If not specified, defaults to true
204
204
func DecodeJpegFancyUpscaling(value bool) DecodeJpegAttr {
205
205
return func(m optionalAttr) {
206
206
m["fancy_upscaling"] = value
@@ -211,7 +211,7 @@ func DecodeJpegFancyUpscaling(value bool) DecodeJpegAttr {
211
211
//
212
212
// value: The minimum required fraction of lines before a truncated
213
213
// input is accepted.
214
- // If not specified, defaults to f: 1
214
+ // If not specified, defaults to 1
215
215
func DecodeJpegAcceptableFraction(value float32) DecodeJpegAttr {
216
216
return func(m optionalAttr) {
217
217
m["acceptable_fraction"] = value
@@ -332,7 +332,7 @@ description: "Some description here."
332
332
type ShapeNAttr func(optionalAttr)
333
333
334
334
// ShapeNOutType sets the optional out_type attribute to value.
335
- // If not specified, defaults to type: DT_INT32
335
+ // If not specified, defaults to DT_INT32
336
336
func ShapeNOutType(value tf.DataType) ShapeNAttr {
337
337
return func(m optionalAttr) {
338
338
m["out_type"] = value
0 commit comments