|
123456789101112131415161718192021 |
- using Microsoft.VisualStudio.TestTools.UnitTesting;
- using System;
- using System.Collections.Generic;
- using System.Text;
- using static Tensorflow.Binding;
- using static Tensorflow.TextApi;
-
- namespace TensorFlowNET.UnitTest.Text
- {
- [TestClass]
- public class TokenizerTest
- {
- [TestMethod, Ignore]
- public void Tokenize()
- {
- var docs = tf.constant(new[] { "Everything not saved will be lost." });
- var tokenizer = text.WhitespaceTokenizer();
- var tokens = tokenizer.tokenize(docs);
- }
- }
- }
|