Skip to content

Commit

Permalink
Remove prepare params
Browse files Browse the repository at this point in the history
  • Loading branch information
mitruska committed Dec 11, 2024
1 parent 0fb0b9f commit 1ca31ea
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
9 changes: 0 additions & 9 deletions src/plugins/intel_cpu/src/nodes/stft.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -73,15 +73,6 @@ bool STFT::needPrepareParams() const {
return false;
}

void STFT::prepareParams() {
const auto& input_shape = getParentEdgeAt(DATA_IDX)->getMemory().getStaticDims();
if (input_shape.size() < 2) {
THROW_CPU_NODE_ERR("has incompatible 'data' shape ",
PartialShape(input_shape),
". Only tensors of rank at least 2 are allowed.");
}
}

bool STFT::created() const {
return getType() == Type::STFT;
}
Expand Down
1 change: 0 additions & 1 deletion src/plugins/intel_cpu/src/nodes/stft.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ class STFT : public Node {
void initSupportedPrimitiveDescriptors() override;
bool created() const override;
static bool isSupportedOperation(const std::shared_ptr<const ov::Node>& op, std::string& errorMessage) noexcept;
void prepareParams() override;
bool needPrepareParams() const override;
void createPrimitive() override;

Expand Down

0 comments on commit 1ca31ea

Please sign in to comment.