Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 24 of 24 for tensor_info (0.33 sec)

  1. tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model/multi_variables_v1.py

          initializer=tf.random_normal_initializer(),
          trainable=True)
      z = tf.matmul(x, y)
      tensor_info_z = tf.compat.v1.saved_model.utils.build_tensor_info(z)
    
      return {
          'key': (tf.compat.v1.saved_model.signature_def_utils.build_signature_def(
              inputs=None,
              outputs={'z': tensor_info_z},
              method_name='some_function'))
      }, None, None
    
    
    if __name__ == '__main__':
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 08:49:35 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/python/representative_dataset_test.py

      @test_util.deprecated_graph_mode_only
      def test_create_feed_dict_from_input_data(self):
        signature_def = meta_graph_pb2.SignatureDef(
            inputs={'input_tensor': meta_graph_pb2.TensorInfo(name='input:0')}
        )
        rng = np.random.default_rng(seed=14)
    
        input_tensor_value = rng.random(size=(2, 2))
        sample = {'input_tensor': input_tensor_value}
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jan 04 07:35:19 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  3. tensorflow/cc/tools/freeze_saved_model_test.cc

      SavedModelBundle saved_model_bundle;
      SignatureDef signature_def;
    
      TensorInfo& in = (*signature_def.mutable_inputs())["input_arg"];
      in.mutable_composite_tensor()->add_components()->set_name("input1:0");
      in.mutable_composite_tensor()->add_components()->set_name("input2:0");
    
      TensorInfo& out = (*signature_def.mutable_outputs())["output_arg"];
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 07 13:30:31 UTC 2022
    - 21.7K bytes
    - Viewed (0)
  4. tensorflow/cc/experimental/libtf/value.h

        explicit Data(Int64 i64) : i64(i64) {}
        explicit Data(const char* s) : s(String(s)) {}
        explicit Data(Func fn) : func(fn) {}
        explicit Data(TaggedValueTensor tensor_in) {
          new (&tensor) TaggedValueTensor(std::move(tensor_in));
        }
        explicit Data(tensorflow::PartialTensorShape shape,
                      tensorflow::DataType dtype)
            : tensor_spec({shape, dtype}) {}
        ~Data() {}
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 05:23:45 UTC 2024
    - 20.4K bytes
    - Viewed (0)
Back to top