ML Community Day is November 9! Join us for updates from TensorFlow, JAX, and more Learn more

tensorflow:: ops:: Subtract

#include <math_ops.h>

Returns x - y element-wise.

Summary

NOTE : Subtract supports broadcasting. More about broadcasting here

Args:

Returns:

Aliases:

  • Sub

Constructors and Destructors

Subtract (const :: tensorflow::Scope & scope, :: tensorflow::Input x, :: tensorflow::Input y)

Public attributes

operation
z

Public functions

node () const
::tensorflow::Node *
operator::tensorflow::Input () const
operator::tensorflow::Output () const

Public attributes

operation

Operation operation

Public functions

Subtract

 Subtract(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input x,
  ::tensorflow::Input y
)

node

::tensorflow::Node * node() const 

operator::tensorflow::Input

 operator::tensorflow::Input() const 

operator::tensorflow::Output

 operator::tensorflow::Output() const