当前位置:网站首页>tf.compat
tf.compat
2022-07-22 17:01:00 【Wanderer001】
Reference resources tf.compat - cloud + Community - Tencent cloud
Functions for Python 2 vs. 3 compatibility.
Conversion routines
In addition to the functions below, as_str
converts an object to a str
.
Types
The compatibility module also provides the following types:
bytes_or_text_types
complex_types
integral_types
real_types
Modules
v1 module: Bring in all of the public TensorFlow interface into this module.
v2 module: Bring in all of the public TensorFlow interface into this module.
Functions
- as_bytes(...): Converts
bytearray
,bytes
, or unicode python input types tobytes
. - as_str(...): Converts any string-like python input types to unicode.
- as_str_any(...): Converts input to
str
type. - as_text(...): Converts any string-like python input types to unicode.
- dimension_at_index(...): Compatibility utility required to allow for both V1 and V2 behavior in TF.
- dimension_value(...): Compatibility utility required to allow for both V1 and V2 behavior in TF.
- forward_compatibility_horizon(...): Context manager for testing forward compatibility of generated graphs.
- forward_compatible(...): Return true if the forward compatibility window has expired.
- path_to_str(...): Converts input which is a
PathLike
object tostr
type.
Other Members
边栏推荐
- opencv支持H264视频编码
- Data Lake: evolution of data Lake Technology Architecture
- Mecol Studio - the third assignment of harmonyos application development training
- 解析参与机器人教育竞赛的热潮
- When the win10 system is turned on, the response is slower than usual. How to solve it by turning around and waiting for 1 minute?
- ES6中的一些新特性
- How to write update set a= (select) in PostgreSQL?
- UE4 用灰度图构建地形
- HZERO企业级数字PaaS平台 (二)| 企业级权限体系
- UE4 将蓝图写在Actor类里面 实现复用
猜你喜欢
跨域问题(CORS)详细说明和解决
汉得企业级PaaS平台HZERO即将重磅开源!
GD32F470之串口空闲中断+DMA篇
A Mobile Telematics Pattern Recognition Framework for Driving Behavior Extraction
1143. 最长公共子序列
网络基础原理概述
Analyzing and optimizing robot course system and teaching strategy
Analyzing the upsurge of participating in robot education competition
ffmpeg-rk3399 ffplay 学习分析
ERROR: Could not build wheels for pycocotools which use PEP 517 and cannot be installed directly
随机推荐
Hzero enterprise level digital PAAS platform (II) | enterprise level authority system
[vs] trying to load a program with incorrect format
tf.set_random_seed()
numpy.around
Analyzing and optimizing robot course system and teaching strategy
Contract awarding and use of NPM private server
AT2336 [ARC069D] Flags
汉得x久立特材|携手打造协同办公门户,助力IT内部规范管理
Large file slice upload and breakpoint continuation
ES6 template string
AT1225 かかし
解析numpy.random.get_state()和numpy.random.set_state()
Leetcode daily question 814. Binary tree pruning
5分钟带你浅谈企业级PaaS平台HZERO!
codeforce D2. RGB Substring (hard version) 滑动窗口
Mecol Studio - harmonyos second assignment
Complex network modeling (propagation phenomenon on the network)
Grasp the development trend of robot education towards AI intelligence
汉得数字平台体系及试用知多少?
通过删除注册表破解plsql