Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 121 for data_type_ (0.52 sec)

  1. tensorflow/c/experimental/ops/gen/model/arg_type.h

      static ArgType CreateInput(const OpDef::ArgDef& arg_def);
      static ArgType CreateInputRef(const OpDef::ArgDef& arg_def);
      static ArgType CreateOutput(const OpDef::ArgDef& arg_def);
    
      const tensorflow::DataType data_type() const { return data_type_; }
      const string type_attr_name() const { return type_attr_name_; }
      const bool is_read_only() const { return kind_ == kInput; }
      const bool is_list() const { return is_list_; }
    
     private:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 15 18:23:40 UTC 2021
    - 1.9K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/ops/gen/model/arg_type.cc

    }
    
    ArgType ArgType::CreateOutput(const OpDef::ArgDef& arg_def) {
      return ArgType(arg_def, kOutput);
    }
    
    ArgType::ArgType(const OpDef::ArgDef& arg_def, Kind kind)
        : kind_(kind), data_type_(arg_def.type()) {
      if (!arg_def.type_attr().empty()) {
        type_attr_name_ = arg_def.type_attr();
      }
      if (!arg_def.type_list_attr().empty()) {
        type_attr_name_ = arg_def.type_list_attr();
      }
    
      is_list_ =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 15 18:23:40 UTC 2021
    - 1.5K bytes
    - Viewed (0)
  3. platforms/core-configuration/declarative-dsl-tooling-models/src/main/kotlin/org/gradle/declarative/dsl/schema/DataType.kt

    import java.io.Serializable
    
    
    @ToolingModelContract(subTypes = [
        DataType.NullType::class,
        DataType.UnitType::class,
        DataType.ConstantType::class,
        DataType.IntDataType::class,
        DataType.LongDataType::class,
        DataType.StringDataType::class,
        DataType.BooleanDataType::class,
        DataClass::class
    ])
    sealed interface DataType : Serializable {
    
        @ToolingModelContract(subTypes = [
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 12:25:47 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  4. internal/bucket/replication/datatypes.go

    Klaus Post <******@****.***> 1709924898 +0100
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Mar 08 19:08:18 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tf2xla/api/v1/compile_mlir_util_test.cc

      DataType data_type = DT_INT32;
      std::initializer_list<int64_t> dims = {2, 3, 4, 5};
      Tensor tensor(data_type, TensorShape(dims));
      for (int i = 0; i < 2 * 3 * 4 * 5; ++i) {
        tensor.flat<int32>()(i) = i;
      }
    
      NodeDef node;
      auto builder = NodeDefBuilder("some_node", "Const")
                         .Attr("dtype", data_type)
                         .Attr("value", tensor);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 25 19:54:38 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  6. tensorflow/cc/ops/const_op.cc

      }
      if (inp.node()) {
        return NodeBuilder::NodeOut(inp.node(), inp.index());
      }
      if (!inp.node_name().empty()) {
        return NodeBuilder::NodeOut(inp.node_name(), inp.index(), inp.data_type());
      }
      auto transformed = Input{
          Const(scope.NewSubScope("Const"), Input::Initializer(inp.tensor()))};
      return NodeBuilder::NodeOut{transformed.node(), transformed.index()};
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 03 20:58:54 UTC 2017
    - 2.7K bytes
    - Viewed (0)
  7. cmd/api-datatypes.go

    coderwander <******@****.***> 1715671610 +0800
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 14 07:26:50 UTC 2024
    - 3K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/translate/mlir_roundtrip_flags.h

    // Parses the command line flag strings to the specification of nodes in
    // the Graph. `data_types` input string can be empty since the flag is optional.
    Status ParseInputArrayInfo(absl::string_view array_names,
                               absl::string_view data_types,
                               absl::string_view shapes,
                               GraphImportConfig::InputArrays* inputs);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 02 04:56:10 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  9. tensorflow/cc/ops/while_loop.cc

    namespace tensorflow {
    namespace ops {
    
    namespace {
    
    // Utility function for converting to internal C++ datatypes.
    OutputTensor ToOutputTensor(const Output& output) {
      return OutputTensor(output.node(), output.index());
    }
    
    // Utility function for converting to internal C++ datatypes.
    std::vector<OutputTensor> ToOutputTensors(const std::vector<Output>& outputs) {
      std::vector<OutputTensor> result(outputs.size());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Feb 26 01:01:21 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  10. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/analysis/utils.kt

     */
    private
    fun sameType(left: DataType, right: DataType) = when (left) {
        is DataClass -> right is DataClass && left.name.qualifiedName == right.name.qualifiedName
        is DataType.BooleanDataType -> right is DataType.BooleanDataType
        is DataType.IntDataType -> right is DataType.IntDataType
        is DataType.LongDataType -> right is DataType.LongDataType
        is DataType.StringDataType -> right is DataType.StringDataType
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 12:25:47 UTC 2024
    - 3K bytes
    - Viewed (0)
Back to top