Skip to content
This repository was archived by the owner on Feb 17, 2026. It is now read-only.
This repository was archived by the owner on Feb 17, 2026. It is now read-only.

C# CNTK Transfer Learning input reshape #3850

Open

Description

@KBS91

Dear Sirs,

I build program to apply Transfer Learning in C#. Problem I face is to reshape input layer for Resnet CNNs.
Default input is [224x224x3] whereas I want to apply [32x32x3] input, but it could be any size.

I wonder how I can reshape input layer dimension?

Also I wonder if there is different way later to replace that input?
I do it now like:
Function clonedModel = baseModel.Clone(ParameterCloningMethod.Freeze,
new Dictionary<Variable, Variable>() { { oldFeatureNode, normalizedNewNode }
});

Regards,
Chris

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions