- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for TensorSpecProto (0.26 sec)
-
tensorflow/c/experimental/saved_model/core/tensor_spec.cc
: shape_(std::initializer_list<int64_t>()), dtype_(DT_FLOAT) {} TensorSpec::TensorSpec(PartialTensorShape shape, DataType dtype) : shape_(std::move(shape)), dtype_(dtype) {} TensorSpec::TensorSpec(const TensorSpecProto& proto) : shape_(proto.shape()), dtype_(proto.dtype()) {} const PartialTensorShape& TensorSpec::shape() const { return shape_; } DataType TensorSpec::dtype() const { return dtype_; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Aug 11 01:20:50 UTC 2021 - 1.3K bytes - Viewed (0) -
tensorflow/c/experimental/saved_model/core/saved_model_utils.h
// Flattens `signature` into a vector of TensorSpecProto pointers back into // `signature`. `signature` must outlive flattened_specs. `signature` must also // be the input or output signature of a SavedConcreteFunction (i.e. "nested // structures of tensorspecs"). Status FlattenSignature(const StructuredValue& signature, std::vector<const TensorSpecProto*>* flattened_specs);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Dec 13 04:18:52 UTC 2022 - 5.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/convert_tensor.h
// Converts an MLIR shaped type to a TensorFlow shape attribute. mlir::TF::ShapeAttr ConvertTypeToTensorShapeAttr(const mlir::Type& type); // Converts an MLIR shaped type to a Tensorflow tensor spec proto. absl::StatusOr<TensorSpecProto> ConvertTypeToTensorSpecProto( const mlir::Type& type); // Converts a TensorFlow shape attribute to 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 - 2.9K bytes - Viewed (0) -
tensorflow/cc/experimental/libtf/runtime/runtime.cc
using tensorflow::PartialTensorShape; using tensorflow::SavedConcreteFunction; using tensorflow::SavedObjectGraph; using tensorflow::Status; using tensorflow::StructuredValue; using tensorflow::TensorSpecProto; using tensorflow::libexport::TFPackage; using tensorflow::protobuf::RepeatedPtrField; using tensorflow::tracing::graph::GraphFunction; TaggedValue MakeCallable(const std::string& fn_name, Function fn,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Sep 01 11:18:25 UTC 2022 - 7.4K bytes - Viewed (0)