Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 156 for data_type_ (0.15 sec)

  1. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/demo/demoPlugins/PluginsDemo.kt

            val error = result.errors.singleOrNull()
            assertNotNull(error)
            val reason = error.errorReason
            assertIs<ErrorReason.AssignmentTypeMismatch>(reason)
            assertIs<DataType.StringDataType>(reason.expected)
            assertIs<DataType.IntDataType>(reason.actual)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 10:08:01 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  2. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/analysis/resolution.kt

        data class ValReassignment(val localVal: LocalValue) : ErrorReason
        data class ExternalReassignment(val external: ObjectOrigin.External) : ErrorReason
        data class AssignmentTypeMismatch(val expected: DataType, val actual: DataType) : ErrorReason
    
        // TODO: these two are never reported for now, instead it is UnresolvedFunctionCallSignature
        data object UnusedConfigureLambda : ErrorReason
        data object MissingConfigureLambda : ErrorReason
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 12:25:46 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/resource_op_lifting.cc

              hoisted_read(nullptr),
              data_type(nullptr),
              result_index(-1) {}
    
        bool IsResultIndexAssigned() { return result_index != -1; }
    
        // Refine the resource type using the given type `type`.
        void RefineType(Type type) {
          if (!data_type) {
            data_type = type;
          } else {
            data_type = TF::GetCastCompatibleType(data_type, type,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  4. tensorflow/compiler/jit/encapsulate_subgraphs_pass_test.cc

              {{"outside_compilation_O1_host_compute"},
               "XlaHostCompute",
               {"C:o:0", "c:o:0"},
               {{"Tinputs", absl::Span<const DataType>({DT_FLOAT, DT_FLOAT})},
                {"Toutputs", absl::Span<const DataType>({DT_FLOAT})},
                {"ancestors", absl::Span<const string>({})},
                {"key", "host_compute_channel_F1_F1_O1"},
                {"send_key", ""},
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 113.3K bytes
    - Viewed (0)
  5. tensorflow/c/eager/gradients.cc

      handle_ = other.handle_;
      handle_->Ref();
    }
    TapeTensor::~TapeTensor() { handle_->Unref(); }
    
    int64_t TapeTensor::GetID() const { return ToId(handle_); }
    
    tensorflow::DataType TapeTensor::GetDType() const {
      return handle_->DataType();
    }
    AbstractTensorHandle* TapeTensor::GetHandle() const { return handle_; }
    
    AbstractTensorHandle* TapeTensor::ZerosLike() const { return nullptr; }
    
    class TapeVSpace
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 15 09:49:45 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  6. tensorflow/compiler/jit/pjrt_tensor_buffer_util.cc

    #include "tsl/platform/statusor.h"
    
    namespace tensorflow {
    
    static size_t GetTensorSize(const TensorShape& shape, const DataType dtype) {
      return shape.num_elements() * DataTypeSize(dtype);
    }
    
    absl::StatusOr<Tensor> MakeTensorFromPjRtBuffer(
        const DataType dtype, const TensorShape& shape,
        std::unique_ptr<xla::PjRtBuffer> pjrt_buffer) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Sep 14 18:14:47 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  7. tensorflow/c/eager/unified_api_testutil.h

      TFE_TensorHandle* input_eager =
          TestTensorHandleWithDims<T, datatype>(eager_ctx, data, dims, num_dims);
      *tensor =
          unwrap(TF_CreateAbstractTensorFromEagerTensor(input_eager, status.get()));
      return absl::OkStatus();
    }
    
    // Return a scalar tensor handle with given value.
    template <class T, TF_DataType datatype>
    Status TestScalarTensorHandle(AbstractContext* ctx, const T value,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Feb 27 13:57:45 UTC 2024
    - 4K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tfrt/saved_model/saved_model.cc

        return mlir::cast<mlir::StringAttr>(index_path[0]).getValue();
      }
      return "";
    }
    
    absl::StatusOr<std::pair<tensorflow::DataType, tensorflow::PartialTensorShape>>
    ProcessTensorSpec(mlir::TensorType type) {
      tensorflow::DataType dtype;
      TF_RETURN_IF_ERROR(
          ConvertScalarTypeToDataType(type.getElementType(), &dtype));
    
      if (!type.hasRank())
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top