Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 207 for data_type_ (0.23 sec)

  1. tensorflow/compiler/mlir/tensorflow/utils/convert_type_test.cc

                                    DataType::DT_INT32));
    
      // Partially known shapes.
      EXPECT_EQ("tensor<?x27x?xbf16>",
                ConvertToMlirString({-1, 27, -1}, /*unknown_rank=*/false,
                                    DataType::DT_BFLOAT16));
    
      // Unranked shapes.
      EXPECT_EQ("tensor<*xf32>",
                ConvertToMlirString({}, /*unknown_rank=*/true, DataType::DT_FLOAT));
    }
    
    }  // namespace
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  2. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/analysis/context.kt

    }
    
    
    class SchemaTypeRefContext(val schema: AnalysisSchema) : TypeRefContext {
        override fun resolveRef(dataTypeRef: DataTypeRef): DataType = when (dataTypeRef) {
            is DataTypeRef.Name -> schema.dataClassesByFqName.getValue(dataTypeRef.fqName)
            is DataTypeRef.Type -> dataTypeRef.dataType
        }
    }
    
    
    /**
     * Represents a unique operation within a particular generation.  The invocation id should be unique within a single
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 12:25:46 UTC 2024
    - 5K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/saved_model/core/revived_types/variable.h

      static Status CreateUninitialized(
          ImmediateExecutionContext* ctx, DataType dtype, TensorShape shape,
          absl::optional<std::string> name, const char* raw_device_name,
          const std::vector<std::string>& component_devices,
          std::unique_ptr<Variable>* output);
    
      // The dtype of the underlying variable.
      DataType dtype();
    
      // The shape of the underlying variable.
      TensorShape shape();
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Aug 30 19:43:25 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/saved_model/core/saved_variable_loading_test.cc

    #include "tensorflow/core/protobuf/saved_object_graph.pb.h"
    
    namespace tensorflow {
    namespace {
    
    class SavedVariableLoadingTest
        : public ::testing::TestWithParam<
              std::tuple<DataType, std::vector<int64_t>>> {
     public:
      SavedVariableLoadingTest() {
        SessionOptions options;
        options.config.mutable_device_count()->insert({"CPU", 3});
        std::vector<std::unique_ptr<Device>> devices;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Feb 27 09:34:33 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. tensorflow/c/experimental/saved_model/core/ops/variable_ops.h

                                               DataType dtype, TensorShape shape,
                                               const char* raw_device_name,
                                               ImmediateTensorHandlePtr* handle);
    
    // Executes an AssignVariableOp using `ctx`, assigning the variable associated
    // with `variable_handle` with `value`. `dtype` must be the datatype of the
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Aug 30 21:44:45 UTC 2022
    - 3.2K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top