Here is a simple test with Relay function:
copy_out2 = deepcopy(out2) copy_out2.args = new_args f = relay.Function(new_args, copy_out2) print(f) But it seems not working either: v0.0.4 fn (%new_data: Tensor[(1, 3, 224, 224), float32], %new_weights: Tensor[(32, 32, 1, 1), float32]) { free_var %data: Tensor[(1, 3, 224, 224), float32] free_var %weights1: Tensor[(32, 3, 3, 3), float32] %0 = nn.conv2d(%data, %weights1, strides=[2, 2], padding=[1, 1], kernel_size=[3, 3]); free_var %weights2: Tensor[(32, 32, 1, 1), float32] nn.conv2d(%0, %weights2, padding=[1, 1], kernel_size=[1, 1]) } --- [Visit Topic](http://tracking.discuss.tvm.ai/tracking/click?d=RrWWa6ZnID_g8FliIRahCwQ_WoNDb7NcN3cKg_cQTcd-2-85LLdevpDxXuPmWjg_9OjF8iMLsOsG-Vh8QUtfgsBLDm_fpjAMpiLI4LON_eAORRwsWGd7Zue5H_LFbdDtuAp7H9gnAnoc2Vn9-MZERwkCGSipmZ9crwXCTQ25yapD0) to respond. You are receiving this because you enabled mailing list mode. To unsubscribe from these emails, [click here](http://tracking.discuss.tvm.ai/tracking/click?d=7cFgOaAA4XIBVlVKt_oyC07uihTjg4Q6cjeBRNRTiPphU2ZYHhr_Zq3kbTZ8qNtSjCF5oy18Wm10rOZlbgI6juJm7NEh8Me0FXsrUcb0SIAePlruhGuq2Iu0mYDCsahHfAoIjL-BAxvG_HYEy8rn6AtJLNIs_zLHc_J-MZq340EAPN445sQO93xuigxY8UNFDwrXDrp6lrCV3gIbO_eDmQmRd0sA6M7Nj7eloA5kRxaJ0). Tianqi Chen, UW, Seattle, WA, 98105, United States http://tracking.discuss.tvm.ai/tracking/unsubscribe?msgid=jI9-ba7BOE34N2v5YfSPCA2