- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for tensorspecs (0.14 sec)
-
tensorflow/compiler/mlir/quantization/stablehlo/python/integration_test/quantize_model_test_base.py
input_signature=[ tensor_spec.TensorSpec( name='x', shape=x_signature, dtype=dtypes.float32 ) ] ) def einsum_with_kernel(self, x: core.Tensor) -> Mapping[str, core.Tensor]: return self._einsum(x, self._kernel) @def_function.function( input_signature=[ tensor_spec.TensorSpec(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 14 06:31:57 UTC 2024 - 18.2K bytes - Viewed (0) -
tensorflow/cc/experimental/libtf/value.h
const TaggedValueTensor& tensor() const { return get<TaggedValueTensor>(); } /// Retrieves underlying value from a TaggedValue with type TENSOR_SPEC. const TensorSpec& tensor_spec() const { return get<TensorSpec>(); } /// Retrieves underlying value from a TaggedValue with type CAPSULE. void* capsule() const { return get<impl::Capsule>().get(); } /// Retrieves type of TaggedValue.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Apr 13 05:23:45 UTC 2024 - 20.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/convert_tensor.cc
const mlir::Type& type) { DataType dtype; TF_RETURN_IF_ERROR(ConvertToDataType(type, &dtype)); TensorSpecProto tensor_spec; tensor_spec.set_dtype(dtype); *tensor_spec.mutable_shape() = ConvertTypeToTensorShape(type).AsProto(); return tensor_spec; } // Converts the tensor shape proto into an MLIR shape attribute. absl::StatusOr<mlir::Attribute> ConvertTensorShapeProto(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Apr 26 09:37:10 UTC 2024 - 20.5K bytes - Viewed (0) -
tensorflow/c/experimental/saved_model/internal/saved_model_api_test.cc
#include "tensorflow/c/experimental/saved_model/public/signature_def_param.h" #include "tensorflow/c/experimental/saved_model/public/signature_def_param_list.h" #include "tensorflow/c/experimental/saved_model/public/tensor_spec.h" #include "tensorflow/c/tf_datatype.h" #include "tensorflow/c/tf_shape.h" #include "tensorflow/c/tf_status.h" #include "tensorflow/c/tf_tensor.h" #include "tensorflow/core/lib/io/path.h"
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 23 08:08:45 UTC 2024 - 21.3K bytes - Viewed (0)