- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for tensorspecs (0.34 sec)
-
tensorflow/c/experimental/saved_model/core/revived_types/partially_revived_objects.cc
// (args, kwargs), where args is an empty tuple, and kwargs is a dictionary of // string keys to TensorSpecs. if (!canonicalized_input_signature.has_tuple_value()) { return absl::FailedPreconditionError(absl::StrCat( "SignatureDefFunction's canonicalized_input_signature should be " "of form tuple(tuple(), dict()), but was instead: \n",
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 09 20:11:48 UTC 2023 - 23.7K bytes - Viewed (0) -
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/cc/experimental/libtf/tests/function_test.cc
Function tf_function; PartialTensorShape unknown_shape; TaggedValue tensor_spec(unknown_shape, DT_FLOAT); TaggedValue input_signature = TaggedValue::Tuple(); input_signature.tuple().emplace_back(tensor_spec); input_signature.tuple().emplace_back(tensor_spec); Status s = tf_function.RegisterTrace(std::move(trace), input_signature, tensor_spec); ASSERT_TRUE(s.ok()) << s.message();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 19 21:44:52 UTC 2023 - 11.1K bytes - Viewed (0) -
tensorflow/c/experimental/saved_model/internal/BUILD
deps = [ "//tensorflow/c:conversion_macros", "//tensorflow/c/experimental/saved_model/core:signature_def_function_metadata", ], ) cc_library( name = "tensor_spec", srcs = [ "tensor_spec.cc", ], hdrs = [ "//tensorflow/c/experimental/saved_model/public:tensor_spec.h", ], copts = tf_copts(), visibility = [
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 01 20:19:06 UTC 2024 - 11K 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/compiler/jit/get_compiler_ir.cc
TF_RETURN_IF_ERROR(LockVariables(absl::MakeSpan(variable_infos))); } absl::StatusOr<std::vector<XlaCompiler::Argument>> args; if (compiler_arg_source == CompilerArgSource::TENSOR_SPEC) { args = BuildXlaCompilerArgumentFromTensorSpec(fbody, constant_arg_indices, inputs, variable_infos,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 22 06:59:07 UTC 2024 - 19K 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)