'VS App Fails When Trying to Access TensorFlow

I've tried running tutorials for Microsoft.ML as well as TensorFlow.NET in Visual Studio 2022 and in both case I get this message:

exited with code -1073741795.

In the case of TensorFlow.NET, this is the extent of my code:

using System;
using static Tensorflow.Binding;
var hello = tf.constant("Hello, TensorFlow!");

The message appears when it hits the last line.

The only NuGet dependencies the tutorial asked to be installed are:

TensorFlow.NET
SciSharp.TensorFlow.Redist
SciSharp.TensorFlow.Redist-Windows-GPU

The only thing I could find that might be relevant have to do with the processor. I have an Intel Celeron. The configuration options for the solution are AnyCPU, ARM64, and x64. I've tried all of them and get the same result, except VS gives a warning if I choose something other than ARM64.

I'm not sure where to go with this next. I'm hoping someone can offer some insights. Thanks.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source