class_docstr: This class tests all member functions of crypten package
class_docstr_tok: ["This","class","tests","all","member","functions","of","crypten","package"]
docstr: Tests that CrypTensors cannot be instantiated.
code: def test_cryptensor_instantiation(self):
      """Tests that CrypTensors cannot be instantiated."""
      tensor = get_random_test_tensor()
      with self.assertRaises(TypeError):
          encrypted_tensor = crypten.CrypTensor(tensor)
      encrypted_tensor = crypten.mpc.MPCTensor(tensor)
      self.assertIsInstance(encrypted_tensor, crypten.CrypTensor)
  
imports: import itertools
  import logging
  import math
  import random
  import unittest
  from collections import defaultdict
  import crypten
  import crypten.communicator
  import torch
  import torch.nn.functional
  from crypten.common import serial
  from crypten.common.tensor_types import is_float_tensor
  from crypten.config import cfg
  from test.multiprocess_test_case import get_random_test_tensor, MultiProcessTestCase
  from torch import nn
label_desc: Use image node_id 11 for calling the TestCrypten obj's underlying member method code with example usage: obj.test_cryptensor_instantiation() without return types