The base class for all flags errors.
CARVIEW |
Select Language
HTTP/2 302
content-type: text/html; charset=utf-8
location: https://www.tensorflow.org/oauth2authorize?return_url=https%3A%2F%2Fwww.tensorflow.org%2Fapi_docs%2Fpython%2Ftf%2Fcompat%2Fv1%2Fflags%2FError&prompt=none&auto_signin=True&scopes=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fdeveloperprofiles+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fdeveloperprofiles.award
x-robots-tag: noindex
set-cookie: signin_details="Check Login State: Current Auto Sign in Status :Skip AutoSignin False: Skip Signin False: Auto signin the user - Oauth Sign in: Called Signin(): SignIn Redirect"; Expires=Thu, 24 Jul 2025 10:57:27 GMT; Max-Age=300; Secure; Path=/
set-cookie: signin=autosignin; Expires=Thu, 24 Jul 2025 10:57:27 GMT; Max-Age=300; Secure; Path=/
set-cookie: signin_details="Check Login State: Current Auto Sign in Status :Skip AutoSignin False: Skip Signin False: Auto signin the user - Oauth Sign in: Called Signin(): SignIn RedirectSetting SignInCookie - AutoSignin: "; Expires=Thu, 24 Jul 2025 10:57:27 GMT; Max-Age=300; Secure; Path=/
set-cookie: session=; Expires=Thu, 01 Jan 1970 00:00:00 GMT; Max-Age=0; Secure; HttpOnly; Path=/; SameSite=None
vary: Cookie
vary: Accept-Encoding
content-security-policy: base-uri 'self'; object-src 'none'; script-src 'strict-dynamic' 'unsafe-inline' https: http: 'nonce-l70ezgAUIpz61Flr0J55ipNPfI5V88' 'unsafe-eval'; frame-ancestors 'self' https://developers.google.com/_d/analytics-iframe; report-uri https://csp.withgoogle.com/csp/devsite/v2
strict-transport-security: max-age=63072000; includeSubdomains; preload
x-xss-protection: 0
x-content-type-options: nosniff
cache-control: no-cache, must-revalidate
expires: 0
pragma: no-cache
content-encoding: gzip
x-cloud-trace-context: 6888926022628cad78bc360f96b37a2d
date: Thu, 24 Jul 2025 10:52:27 GMT
server: Google Frontend
content-length: 322
alt-svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000
HTTP/2 302
content-type: text/html; charset=utf-8
location: https://accounts.google.com/o/oauth2/v2/auth?client_id=157101835696-ooapojlodmuabs2do2vuhhnf90bccmoi.apps.googleusercontent.com&redirect_uri=https%3A%2F%2Fwww.tensorflow.org%2Foauth2callback&scope=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.profile+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fgoogledevelopers+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.email+openid+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fdeveloperprofiles+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fdeveloperprofiles.award&access_type=online&response_type=code&state=%7B%22csrf_token%22%3A+%22e896833617366d3789c490723cacf08933ec43982d6eece77dfe745fff650af4%22%2C+%22return_url%22%3A+%22https%3A%2F%2Fwww.tensorflow.org%2Fapi_docs%2Fpython%2Ftf%2Fcompat%2Fv1%2Fflags%2FError%22%7D&prompt=none&auto_signin=True
set-cookie: signin_details="Check Login State: Current Auto Sign in Status :Skip AutoSignin False: Skip Signin False: Auto signin the user - Oauth Sign in: Called Signin(): SignIn RedirectSetting SignInCookie - AutoSignin: Start_Oauth(): Start Oauth Prompt - none: "; Expires=Thu, 24 Jul 2025 10:57:28 GMT; Max-Age=300; Secure; Path=/
set-cookie: session=.eJylVF1vqkoU_Ss3vt77ADNinfMmWhAKmKLyMS8NzOAHziCpCsLJ-e93j609TdOHe3JNTBD3x9prrb1_Dl7q4lVmVVGdBz_Or5fin8H2eNyK4uWYXc479MJOr5uX8_FQVIMfg2JMRmOMR_oDHo04fhgTNiTaA8IsYxttTDAu2BCTMeKjomDFwwPfFA9DY7PZjAwt2wwHX6tvxLF9-d9Vf_wc_JUDvO1kGRXt8-TtM_UtRHY8CY--DE5ZHF24NdaSfnJJ0bWmsaEJp12tNEvn9raLULRfo6jjMupCeW24sVyJqTTFHK2fnNa95yRIHMRj4PirNfZXk-ti5utBeUBeTJo0MZsMcqmt62ns9r4MG7-iembvLrQ8tKkMyjwmtSetls39C0WkoegqeBIIJoMmr0KRV8-Aj5wBW_DREwcixa7gbjiz5-zMo7pdV_41tHWH4kdtMdWTcL1Lw3Jyjt2lbybQB5tCWFtzAnRk81CDfiOvI5hj9tEX8NasM8ocaYA90rIp0RlwkMWGzDujZZLILL4Kx95pfG72i_244VDBk7zJET_R2GqzxL_h9dCNx-Zem9oRovG1YXbUsc488nnYsv7YeJDPO6PKEalyO9oxW_Semn35ppWHo54mbp1L2ngyOqexODk2aYGHmk7_oA4KBWh5UjywyuxyRGuI6_9ols8zzN2GSnGiKibhOyaX63Jy7Wgc1kxGJbeAOynX5VR8xagB9j7HrsxtAv1IRzvyxvfMLdP4ekqlVWbG0p8q7yBxSdCuzqvlenVsn27eEGRHEfjXDRflZHebL8GgE1363qd50ljpDnGfvPXOSePdd2FPEHxvz-Axl9vkFfBtOHAOv8tPXnnH6Hzrl7e8EXBQdzShTYaie43Df60BvKEcnQXkPCmuszgQ97me4t9z5W96dN9rpXQWJV0SqBmqWov7TDcf63dd-G9dPrj41j-awpRLcaHy73VphrdY0K8upKVlMVH6iDQOBauVHtGG2eeS0qVbTvQbhgRT2GcBuxN14nHkm5UJfrHOzAiJmO79KbLKFEU904lWJKbCbOfIgBtlqOcAeOmZTS5McToXLdT2TTsAP8bAd9Rz29LUuxqf9ikOOireMe-dkTN1xWJ2QHCX-qB8xH6fIjrz8WImymB2aIPegTdWScvJcLHyexr7mt8fhr58Bq9HJV0xTG0qgv5Zp5LCxVq3aZxqzr7dOhXcoHnU5UJx2u4X-8n-623hdgS4wePqhnYGaMzUXawTFDYp9hs2F1oGs3k4lB4CvhNzx6fgySWB_bAq1hGLVW7D9i5RvKi9gxh1qx9zSS5q7unND2TDkKiUTuq_aO7qlIY6j53L4NevfwF9a0_l.aIIQbA.WBFBB9Dk4uwEWCwhetHDf6VQEbs; Expires=Sun, 24 Aug 2025 10:52:28 GMT; Secure; HttpOnly; Path=/; SameSite=None
vary: Cookie
vary: Accept-Encoding
content-security-policy: base-uri 'self'; object-src 'none'; script-src 'strict-dynamic' 'unsafe-inline' https: http: 'nonce-/O41HWRiw3ia615Q3PmyLaOEvgq5xY' 'unsafe-eval'; frame-ancestors 'self' https://developers.google.com/_d/analytics-iframe; report-uri https://csp.withgoogle.com/csp/devsite/v2
strict-transport-security: max-age=63072000; includeSubdomains; preload
x-xss-protection: 0
x-content-type-options: nosniff
cache-control: no-cache, must-revalidate
expires: 0
pragma: no-cache
content-encoding: gzip
x-cloud-trace-context: a451d71a47ecaf9478bc360f96b377e5
date: Thu, 24 Jul 2025 10:52:28 GMT
server: Google Frontend
content-length: 556
alt-svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000
HTTP/2 302
content-type: text/html; charset=UTF-8
set-cookie: __Host-GAPS=1:nquvAfwMwcK1s9ex6s94fBiO0___gQ:Fgx2JncNHM0YKjWd;Path=/;Expires=Sat, 24-Jul-2027 10:52:28 GMT;Secure;HttpOnly;Priority=HIGH
cache-control: no-cache, no-store, max-age=0, must-revalidate
pragma: no-cache
expires: Mon, 01 Jan 1990 00:00:00 GMT
date: Thu, 24 Jul 2025 10:52:28 GMT
location: https://www.tensorflow.org/oauth2callback?state=%7B%22csrf_token%22%3A+%22e896833617366d3789c490723cacf08933ec43982d6eece77dfe745fff650af4%22%2C+%22return_url%22%3A+%22https%3A%2F%2Fwww.tensorflow.org%2Fapi_docs%2Fpython%2Ftf%2Fcompat%2Fv1%2Fflags%2FError%22%7D&error_subtype=access_denied&error=interaction_required
origin-trial: Ajo6ZZxoPufZZ6x0UgjawhB/adBJ+tLG7aX1MO8kWVCTHdOVSlY4OjhBhzivzulNh6ikNKRnwxwK18EvUu6aOgcAAABteyJvcmlnaW4iOiJodHRwczovL2FjY291bnRzLmdvb2dsZS5jb206NDQzIiwiZmVhdHVyZSI6IldlYlZpZXdYUmVxdWVzdGVkV2l0aERlcHJlY2F0aW9uIiwiZXhwaXJ5IjoxNzU4MDY3MTk5fQ==
strict-transport-security: max-age=31536000; includeSubDomains
content-security-policy: require-trusted-types-for 'script';report-uri /cspreport
content-security-policy: script-src 'report-sample' 'nonce-QeBmSlP9E6V0HwaHgnGLlg' 'unsafe-inline' 'unsafe-eval';object-src 'none';base-uri 'self';report-uri /cspreport
report-to: {"group":"coop_gse_qebhlk","max_age":2592000,"endpoints":[{"url":"https://csp.withgoogle.com/csp/report-to/gse_qebhlk"}]}
cross-origin-opener-policy-report-only: same-origin; report-to="coop_gse_qebhlk"
content-encoding: gzip
x-content-type-options: nosniff
x-xss-protection: 1; mode=block
content-length: 388
server: GSE
alt-svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000
HTTP/2 302
content-type: text/html; charset=utf-8
location: https://www.tensorflow.org/api_docs/python/tf/compat/v1/flags/Error
set-cookie: signin_details="Check Login State: Current Auto Sign in Status :Skip AutoSignin False: Skip Signin False: Auto signin the user - Oauth Sign in: Called Signin(): SignIn RedirectSetting SignInCookie - AutoSignin: Start_Oauth(): Start Oauth Prompt - none: Called Oauth2Callback(): Oauth2Callback callback view: Oauth2Callback No User creds: Oauth2Callback error:no_credentials:bad_request:Authorization failed: interaction_required: Oauth2Callback AS_state autosignin: "; Expires=Thu, 24 Jul 2025 10:57:28 GMT; Max-Age=300; Secure; Path=/
set-cookie: signin_details=; Expires=Thu, 01 Jan 1970 00:00:00 GMT; Max-Age=0; Path=/
set-cookie: session=eyJfcGVybWFuZW50Ijp0cnVlfQ.aIIQbA.OQJG7g2P4YexKCHtysUTwt9lE7Q; Expires=Sun, 24 Aug 2025 10:52:28 GMT; Secure; HttpOnly; Path=/; SameSite=None
vary: Cookie
vary: Accept-Encoding
content-security-policy: base-uri 'self'; object-src 'none'; script-src 'strict-dynamic' 'unsafe-inline' https: http: 'nonce-WXg51ADGZseLjcX4SchRcoZKyt61oe' 'unsafe-eval'; frame-ancestors 'self' https://developers.google.com/_d/analytics-iframe; report-uri https://csp.withgoogle.com/csp/devsite/v2
strict-transport-security: max-age=63072000; includeSubdomains; preload
x-xss-protection: 0
x-content-type-options: nosniff
cache-control: no-cache, must-revalidate
expires: 0
pragma: no-cache
content-encoding: gzip
x-cloud-trace-context: cceae134ed05dd3d78bc360f96b37524
date: Thu, 24 Jul 2025 10:52:28 GMT
server: Google Frontend
content-length: 208
alt-svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000
HTTP/2 200
last-modified: Fri, 26 Apr 2024 13:02:07 GMT
content-type: text/html; charset=utf-8
vary: Cookie
vary: Accept-Encoding
set-cookie: session=eyJfcGVybWFuZW50Ijp0cnVlfQ.aIIQbQ.GYtM4A-QUbAVAyYs5P_s5-i93Ck; Expires=Sun, 24 Aug 2025 10:52:29 GMT; Secure; HttpOnly; Path=/; SameSite=None
content-security-policy: base-uri 'self'; object-src 'none'; script-src 'strict-dynamic' 'unsafe-inline' https: http: 'nonce-7jR47gV2zeTd1uIhyBl6B9QiJyjsJI' 'unsafe-eval'; frame-ancestors 'self' https://developers.google.com/_d/analytics-iframe; report-uri https://csp.withgoogle.com/csp/devsite/v2
strict-transport-security: max-age=63072000; includeSubdomains; preload
x-xss-protection: 0
x-content-type-options: nosniff
cache-control: no-cache, must-revalidate
expires: 0
pragma: no-cache
content-encoding: gzip
x-cloud-trace-context: a1c7ea86f6e4105c78bc360f96b37542
date: Thu, 24 Jul 2025 10:52:29 GMT
server: Google Frontend
content-length: 141977
alt-svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000
tf.compat.v1.flags.Error | TensorFlow v2.16.1
Skip to main content
tf.compat.v1.flags.Error
tf.compat.v1.flags.Error
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. Some content is licensed under the numpy license.
Last updated 2024-04-26 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-04-26 UTC."],[],[]]