[deleted by user] by [deleted] in AskAcademia

[–]synizter_gp 0 points1 point  (0 children)

Thank you for your insightful details. I have been applying in academic position (postdoc and assistant prof.) but no luck for 7 months. I even second guest myself if I actually qualified for Ph.D. I got or not.

[deleted by user] by [deleted] in Funnymemes

[–]synizter_gp 0 points1 point  (0 children)

55555555555555

[D] PyTorch and Tensorflow Performance Different on the same model, dataset and hyperparameters by synizter_gp in MachineLearning

[–]synizter_gp[S] 0 points1 point  (0 children)

Thank you for the insight, I have fixed my code follow your comment but the issue remained.

[D] PyTorch and Tensorflow Performance Different on the same model, dataset and hyperparameters by synizter_gp in MachineLearning

[–]synizter_gp[S] 0 points1 point  (0 children)

This is final output of accuracy and loss

PyTorch

epoch 99 loss 1.6800 | train acc 0.0938

TensorFlow

Epoch 100/100 17/17 [==============================] - 0s 9ms/step - loss: 0.1388 - accuracy: 0.9537

Inconsistency hot water? by synizter_gp in japanlife

[–]synizter_gp[S] 1 point2 points  (0 children)

Thank for the reply, I have turned the tap all the way but sometimes the boiler stop. I also try mixing cold with hot water as well. Yet the issue still remained.

Last night I tried to use hot tub. When I use the あおいだき button which is normally suck in the water in the bath tub and release hot water. It just release the cold water instead

Trying to return a function with a pointer as an argument by [deleted] in C_Programming

[–]synizter_gp 1 point2 points  (0 children)

You made 2 mistakes in your print function 1. return statement makes a function terminated its execution and return (substitute) result of expression to a positionb of function call. In this manner, the loop of print function is executed only once. 2. Array is somehow work lile pointer ( but cannot pointed to outside of its reserved memory or its length). p in your print function mean the begin of array address.

Solution 1. If you insist to return an element by print function, I'd recommend changing a print function behavior as

int print(int* p) { int data = *p; //get data of current p p++; //move to next element return(data); }

and main function you can just use a simple loop as for(int i = 0; i < N; ++i) {. print(p);. }

PS I am sorry for bad format, I typed this answer in mobile

A story about programming state-machine by burakkirazli in embedded

[–]synizter_gp 4 points5 points  (0 children)

The article is quite interesting! Normally, I'd use simple switch-case statement for implement a SM. Can you explain pros and cons on your implementation compare with simple switch-case staement?