tensorflow :: ops :: StringLength :: Attrs
#include <string_ops.h>
Configuradores de atributos opcionais para StringLength .
Resumo
Atributos públicos |
---|
unit_ = "BYTE" | StringPiece |
Funções públicas |
---|
Unit (StringPiece x) | A unidade que é contada para calcular o comprimento da string. |
Atributos públicos
unidade_
StringPiece tensorflow::ops::StringLength::Attrs::unit_ = "BYTE"
Funções públicas
Unidade
TF_MUST_USE_RESULT Attrs tensorflow::ops::StringLength::Attrs::Unit(
StringPiece x
)
A unidade que é contada para calcular o comprimento da string.
Um de: "BYTE"
(para o número de bytes em cada string) ou "UTF8_CHAR"
(para o número de pontos de código Unicode codificados em UTF-8 em cada string). Os resultados são indefinidos se unit=UTF8_CHAR
e as sequências de input
não contêm UTF-8 estruturalmente válido.
O padrão é "BYTE"
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2020-04-20 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Não contém as informações de que eu preciso"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Muito complicado / etapas demais"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Desatualizado"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"Problema na tradução"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Problema com as amostras / o código"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Outro"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Fácil de entender"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Meu problema foi resolvido"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Outro"
}]