MCPcopy Create free account
hub / github.com/arrayfire/arrayfire / operator==

Method operator==

src/backend/common/jit/BufferNodeBase.hpp:114–121  ·  view source on GitHub ↗

Overloads the equality operator to call comparisons between Buffer objects. Calls the BufferNodeBase equality operator if the other object is also a Buffer Node

Source from the content-addressed store, hash-verified

112 /// objects. Calls the BufferNodeBase equality operator if the other
113 /// object is also a Buffer Node
114 bool operator==(const common::Node &other) const noexcept final {
115 if (other.isBuffer()) {
116 return *this ==
117 static_cast<const BufferNodeBase<DataType, ParamType> &>(
118 other);
119 }
120 return false;
121 }
122
123 virtual void modDims(const af::dim4 &newDim) override {
124 af::dim4 strides(1, 1, 1, 1);

Callers

nothing calls this directly

Calls 1

isBufferMethod · 0.80

Tested by

no test coverage detected