Skip to content

Commit

Permalink
Removed useless comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
alejandroarmas committed Jun 2, 2022
1 parent 05a70f1 commit bf9df50
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions tensor_factory.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@ namespace NeuralNetwork {

auto tensor = std::make_shared<Tensor>(
_l, _w, _t, _f, _r);

// OperationFactory::create(
// Matrix::Operations::Code::NOP, tensor);

FunctionObjectFactory::create(tensor);

Expand All @@ -40,17 +37,10 @@ namespace NeuralNetwork {
IsLeaf _f,
IsRecordable _r) {


// Matrix::Operations::Utility::Codify codify;
// Matrix::Operations::Code _code = codify(_operator);


auto tensor = std::make_shared<Tensor>(
_m, _t, _f, _r);

// OperationFactory::create(
// _code, tensor, _op, _op2);

if constexpr (Matrix::Operations::UnaryMatrixOperatable<Operator>) {
FunctionObjectFactory::create(
_operator, tensor, _op);
Expand All @@ -60,8 +50,6 @@ namespace NeuralNetwork {
_operator, tensor, _op, _op2);
}



return tensor;
}

Expand Down

0 comments on commit bf9df50

Please sign in to comment.