TensorFlow元素按位异或

2018-09-19 17:00 更新

tf.bitwise.bitwise_xor

bitwise_xor ( 
    x , 
    y , 
    name = None
 )

元素计算 x 和 y 的按位异或.

结果将设置位,在 x 和 y 中是不同的.对 x 和 y 的基础表示进行计算.

ARGS:

  • x:张量.必须是下列类型之一:int8,int16,int32,int64,uint8,uint16.
  • y:张量.必须与 x 具有相同的类型.
  • name:操作的名称(可选).

返回:

返回张量.与 x 具有相同的类型.

以上内容是否对您有帮助:
在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy