Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 121 for data_type_ (0.34 sec)

  1. tensorflow/c/eager/abstract_op_attrs.h

      virtual bool GetBool(absl::string_view attr_name, bool* result) const = 0;
      virtual bool GetType(absl::string_view attr_name, DataType* result) const = 0;
      virtual Status GetTypeList(
          absl::string_view attr_name,
          absl::InlinedVector<DataType, 4>* type_list) const = 0;
    
     private:
      const AbstractOpAttrsKind kind_;
    };
    
    }  // namespace tensorflow
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 26 22:20:27 UTC 2021
    - 2K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/saved_model/core/ops/variable_ops.cc

    #include "tensorflow/core/platform/types.h"
    
    namespace tensorflow {
    namespace internal {
    
    Status CreateUninitializedResourceVariable(ImmediateExecutionContext* ctx,
                                               DataType dtype, TensorShape shape,
                                               const char* raw_device_name,
                                               ImmediateTensorHandlePtr* handle) {
      ImmediateOpPtr varhandle_op(ctx->CreateOperation());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 23 11:28:19 UTC 2024
    - 5K bytes
    - Viewed (0)
  3. platforms/core-configuration/declarative-dsl-tooling-models/src/main/kotlin/org/gradle/declarative/dsl/schema/DataTypeRef.kt

    
    @ToolingModelContract(subTypes = [
        DataTypeRef.Type::class,
        DataTypeRef.Name::class
    ])
    sealed interface DataTypeRef : Serializable {
        interface Type : DataTypeRef {
            val dataType: DataType
        }
    
        interface Name : DataTypeRef {
            val fqName: FqName
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 10:08:03 UTC 2024
    - 1021 bytes
    - Viewed (0)
  4. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/schemaBuilder/DataSchemaBuilder.kt

            val topLevelReceiverName = topLevelReceiver.fqName
    
            return DefaultAnalysisSchema(
                dataTypes.single { it.name == topLevelReceiverName },
                dataTypes.associateBy { it.name },
                extFunctions,
                extObjects,
                defaultImports.toSet()
            )
        }
    
        private
        val KClass<*>.fqName
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 10:08:02 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/saved_model/core/revived_types/variable.cc

    #include "tensorflow/core/lib/llvm_rtti/llvm_rtti.h"
    #include "tensorflow/core/platform/errors.h"
    #include "tensorflow/core/platform/logging.h"
    
    namespace tensorflow {
    
    Variable::Variable(ImmediateExecutionContext* ctx, DataType dtype,
                       TensorShape shape, absl::optional<std::string> name,
                       ImmediateTensorHandlePtr handle)
        : TensorHandleConvertible(std::move(handle)),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Oct 08 20:55:40 UTC 2020
    - 4.4K bytes
    - Viewed (0)
  6. tensorflow/c/experimental/ops/resource_variable_ops.h

    namespace tensorflow {
    namespace ops {
    
    // Creates a handle to a Variable resource.
    Status VarHandleOp(AbstractContext* ctx, AbstractTensorHandle** resource,
                       DataType dtype, const PartialTensorShape shape,
                       const char* container = "", const char* shared_name = "",
                       absl::Span<string const> allowed_devices = {},
                       const char* name = nullptr,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 10 19:11:36 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/utils/convert_type.h

    // Convert the scalar type of a TFLite tensor to the corresponding
    // Tensorflow type
    tensorflow::DataType TflTypeToTfType(tflite::TensorType type);
    
    // Convert the Tensorflow scalar type to the corresponding TFLite type
    absl::StatusOr<tflite::TensorType> TfTypeToTflType(tensorflow::DataType type);
    
    // Returns element type from attribute Type 'type_attr'.
    mlir::Type GetShapeStrippedType(mlir::TypeAttr type_attr);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 18:01:23 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_config.cc

    #include "llvm/Support/raw_ostream.h"
    #include "tensorflow/core/framework/types.pb.h"
    
    // Returns whether the given dtype is a quantization type in TensorFlow.
    static bool IsQuantizationType(tensorflow::DataType dtype) {
      switch (dtype) {
        case tensorflow::DT_QINT8:
        case tensorflow::DT_QUINT8:
        case tensorflow::DT_QINT16:
        case tensorflow::DT_QUINT16:
        case tensorflow::DT_QINT32:
          return true;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 05 07:39:40 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  9. tensorflow/cc/ops/const_op_test.cc

      EXPECT_TRUE(n->IsConstant());
      Tensor tensor;
      TF_EXPECT_OK(GetNodeAttr(n->attrs(), "value", &tensor));
      DataType dtype;
      TF_EXPECT_OK(GetNodeAttr(n->attrs(), "dtype", &dtype));
      EXPECT_EQ(tensor.dtype(), dtype);
      test::ExpectTensorEqual<T>(tensor, test::AsTensor(values, shape));
    }
    
    void ExpectTypeAndShape(const Node* n, DataType expected_dtype,
                            TensorShape expected_shape) {
      EXPECT_TRUE(n->IsConstant());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Aug 12 14:38:21 UTC 2019
    - 4.9K bytes
    - Viewed (0)
  10. tensorflow/compiler/jit/pjrt_tensor_buffer_util.h

    // device memory. It also owns the PjRtBuffer.
    //
    // TODO(b/289001822): Create a unit test to cover this function.
    absl::StatusOr<Tensor> MakeTensorFromPjRtBuffer(
        DataType dtype, const TensorShape& shape,
        std::unique_ptr<xla::PjRtBuffer> pjrt_buffer);
    
    // For TensorFlow internal use only.
    class PjRtTensorBufferUtil {
     public:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Sep 14 18:14:47 UTC 2023
    - 2.3K bytes
    - Viewed (0)
Back to top