- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for TensorSpecProto (0.11 sec)
-
tensorflow/c/experimental/saved_model/core/saved_model_utils.cc
const std::string& name = function_def->signature().name(); const StructuredValue& input_signature = saved_concrete_function.canonicalized_input_signature(); std::vector<const TensorSpecProto*> input_specs; TF_RETURN_IF_ERROR(FlattenSignature(input_signature, &input_specs)); if (input_specs.size() + saved_concrete_function.bound_inputs_size() != function_def->signature().input_arg_size()) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jan 12 19:17:46 UTC 2023 - 24K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/convert_tensor.cc
// Empty TensorShape indicates a scalar. return mlir::TF::ShapeAttr::get(type.getContext(), ArrayRef<int64_t>()); } absl::StatusOr<TensorSpecProto> ConvertTypeToTensorSpecProto( 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();
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/core/revived_types/partially_revived_objects.cc
namespace tensorflow { namespace { using StructuredValueDictEntry = protobuf::MapPair<std::string, StructuredValue>; using NamedParamMap = gtl::FlatMap<StringPiece, const TensorSpecProto*, StringPieceHasher>; Status AssertAllCreateResourceFunctionsHaveNoCaptures( const PartiallyRevivedObjects& objects) { for (const auto& id_and_resource : objects.restored_resources) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 09 20:11:48 UTC 2023 - 23.7K bytes - Viewed (0)