- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 20 for tfshape$ (0.27 sec)
-
tensorflow/compiler/mlir/tfrt/runtime_fallback/runtime_fallback_ops.td
the TF attribute, and the other for the type and value of the attribute value. Attribute value is a string with the format of "type$val", where type can be "bool", "string", "tfdtype", "tfshape", "tftensor". The value serialization format can be found in attr_util.h. %out_c, %out_tensor = "tfd.delegate_kernel"( %in_c, %in1_tensor, %in2_tensor) { _name = "MatMul",
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 23 19:35:12 UTC 2023 - 5.9K bytes - Viewed (0) -
tensorflow/c/tf_shape.h
#endif // An opaque type corresponding to a shape in tensorflow. In the future, // we may expose the ABI of TF_Shape for performance reasons. typedef struct TF_Shape TF_Shape; // Return a new, unknown rank shape object. The caller is responsible for // calling TF_DeleteShape to deallocate and destroy the returned shape. TF_CAPI_EXPORT extern TF_Shape* TF_NewShape(); // Returns the rank of `shape`. If `shape` has unknown rank, returns -1.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Sep 30 00:25:41 UTC 2020 - 1.7K bytes - Viewed (0) -
tensorflow/c/tf_shape.cc
#include "tensorflow/c/tf_shape.h" #include <stdint.h> #include "tensorflow/c/tf_shape_internal.h" #include "tensorflow/core/framework/tensor_shape.h" extern "C" { TF_Shape* TF_NewShape() { return tensorflow::wrap(new tensorflow::PartialTensorShape()); } int TF_ShapeDims(const TF_Shape* shape) { return tensorflow::unwrap(shape)->dims(); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Sep 30 00:25:41 UTC 2020 - 1.2K bytes - Viewed (0) -
tensorflow/c/tf_shape_internal.h
#define TENSORFLOW_C_TF_SHAPE_INTERNAL_H_ #include "tensorflow/c/conversion_macros.h" #include "tensorflow/core/framework/tensor_shape.h" typedef struct TF_Shape TF_Shape; namespace tensorflow { DEFINE_CONVERSION_FUNCTIONS(tensorflow::PartialTensorShape, TF_Shape); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Sep 30 00:25:41 UTC 2020 - 1K bytes - Viewed (0) -
tensorflow/c/experimental/saved_model/public/tensor_spec.h
#define TENSORFLOW_C_EXPERIMENTAL_SAVED_MODEL_PUBLIC_TENSOR_SPEC_H_ #include <stddef.h> #include "tensorflow/c/c_api_macros.h" #include "tensorflow/c/tf_datatype.h" #include "tensorflow/c/tf_shape.h" #ifdef __cplusplus extern "C" { #endif // __cplusplus // An opaque type corresponding to TensorSpec typedef struct TF_TensorSpec TF_TensorSpec; // Returns the dtype associated with the TensorSpec.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Sep 30 17:58:21 UTC 2020 - 1.6K bytes - Viewed (0) -
tensorflow/c/eager/c_api_unified_experimental.h
// Represents a (partially-defined) shape. typedef struct TF_Shape { int num_dims; // Must be >= -1; -1 represents unknown rank. int64_t* dim_sizes; } TF_Shape; // Add a new parameter to a TensorFlow Function. TF_AbstractTensor* TF_AddFunctionParameter(TF_ExecutionContext* func, TF_DataType dtype, TF_Shape shape, TF_Status* s);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sun Oct 24 11:27:00 UTC 2021 - 7K bytes - Viewed (0) -
tensorflow/c/experimental/saved_model/internal/tensor_spec.cc
#include "tensorflow/c/tf_shape_internal.h" extern "C" { TF_DataType TF_TensorSpecDataType(const TF_TensorSpec* spec) { return static_cast<TF_DataType>(tensorflow::unwrap(spec)->dtype()); } const TF_Shape* TF_TensorSpecShape(const TF_TensorSpec* spec) { return tensorflow::wrap(&tensorflow::unwrap(spec)->shape()); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Sep 30 17:58:21 UTC 2020 - 1.2K bytes - Viewed (0) -
tensorflow/compiler/aot/test_graph_tfadd.pbtxt
value { type: DT_INT32 } } } node { name : "y_reshape" op : "Reshape" input : "y_const" input : "y_shape" attr { key: "T" value { type: DT_INT32 } } # Attribute TShape not specified; needs to be set to its default # by tfcompile. } node { name : "x_y_sum" op : "Add" input : "x_const" input : "y_reshape" attr { key : "T" value {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Jul 07 01:22:33 UTC 2017 - 894 bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/output-shapes.pbtxt
value { type: DT_STRING } } attr { key: "row_partition_types" value { list { s: ["ROW_SPLITS"] } } } attr { key: "Tshape" value { type: DT_INT64 } } attr { key: "Tindex" value { type: DT_INT64 } } attr { key: "T" value { type: DT_STRING
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Sep 21 04:07:13 UTC 2021 - 3K bytes - Viewed (0) -
tensorflow/c/eager/c_api_unified_experimental.cc
TF_DeleteExecutionContext(ctx); return wrap(func); } TF_AbstractTensor* TF_AddFunctionParameter(TF_ExecutionContext* func, TF_DataType dtype, TF_Shape shape, TF_Status* s) { DCHECK_GE(shape.num_dims, -1); TracingTensorHandle* t; TracingContext* tracing_ctx = dyn_cast<TracingContext>(unwrap(func)); if (!tracing_ctx) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 09 10:15:17 UTC 2024 - 9K bytes - Viewed (0)