Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for CreateInputRef (0.17 sec)

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

    namespace tensorflow {
    namespace generator {
    
    ArgType ArgType::CreateInput(const OpDef::ArgDef& arg_def) {
      return ArgType(arg_def, kInput);
    }
    
    ArgType ArgType::CreateInputRef(const OpDef::ArgDef& arg_def) {
      return ArgType(arg_def, kInputRef);
    }
    
    ArgType ArgType::CreateOutput(const OpDef::ArgDef& arg_def) {
      return ArgType(arg_def, kOutput);
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 15 18:23:40 UTC 2021
    - 1.5K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/ops/gen/model/arg_spec.cc

          arg_type_(arg_type),
          position_(position) {}
    
    ArgSpec ArgSpec::CreateInput(const OpDef::ArgDef& arg_def, int position) {
      if (arg_def.is_ref()) {
        return ArgSpec(arg_def, ArgType::CreateInputRef(arg_def), position);
      } else {
        return ArgSpec(arg_def, ArgType::CreateInput(arg_def), position);
      }
    }
    
    ArgSpec ArgSpec::CreateOutput(const OpDef::ArgDef& arg_def, int position) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 15 18:23:40 UTC 2021
    - 1.4K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/ops/gen/model/arg_type.h

    // context.
    class ArgType {
     public:
      ArgType() = default;
      ArgType(const ArgType& other) = default;
      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_; }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 15 18:23:40 UTC 2021
    - 1.9K bytes
    - Viewed (0)
Back to top