Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for createInputs (0.34 sec)

  1. platforms/core-execution/execution-e2e-tests/src/integTest/groovy/org/gradle/integtests/StaleOutputIntegrationTest.groovy

        @Issue(['GRADLE-2440', 'GRADLE-2579'])
        def 'stale output file is removed after input source directory is emptied.'() {
            def taskWithSources = new TaskWithSources()
            taskWithSources.createInputs()
            buildScript(taskWithSources.buildScript)
    
            when:
            succeeds(taskWithSources.taskPath)
    
            then:
            taskWithSources.outputFile.exists()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 04 10:15:40 UTC 2024
    - 23K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/ops/gen/model/arg_spec.cc

          description_(arg_def.description()),
          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

    //
    // This represents the type information with OpDef::ArgDef and any type-related
    // 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)
  4. tensorflow/c/experimental/ops/gen/model/arg_type.cc

    ==============================================================================*/
    #include "tensorflow/c/experimental/ops/gen/model/arg_type.h"
    
    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);
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 15 18:23:40 UTC 2021
    - 1.5K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/ops/gen/model/arg_spec.h

    //
    // Essentially, this represents an OpDef::ArgDef and its context within the Op.
    class ArgSpec {
     public:
      ArgSpec() = default;
      ArgSpec(const ArgSpec& other) = default;
      static ArgSpec CreateInput(const OpDef::ArgDef& arg_def, int position);
      static ArgSpec CreateOutput(const OpDef::ArgDef& arg_def, int position);
    
      const string& name() const { return name_; }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 15 18:23:40 UTC 2021
    - 1.8K bytes
    - Viewed (0)
  6. tensorflow/c/experimental/ops/gen/model/op_spec.cc

          description_(api_def.description()) {
      absl::flat_hash_set<string> inferred_attrs;
      // Parse the arguments
      for (const OpDef::ArgDef& arg_def : op_def.input_arg()) {
        ArgSpec arg = ArgSpec::CreateInput(arg_def, input_args_.size());
        input_args_.push_back(arg);
        if (!arg_def.type_attr().empty()) {
          inferred_attrs.insert(arg_def.type_attr());
          if (!arg_def.number_attr().empty()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 01 21:05:56 UTC 2021
    - 2.1K bytes
    - Viewed (0)
  7. tensorflow/c/c_api.cc

      for (int i = 0; i < ninputs; ++i) {
        // TODO(skyewm): prefix names with underscore (requires some plumbing)
        if (!CreateInput(inputs[i], cond_graph, StrCat("cond_input", i).c_str(),
                         &cond_inputs[i], status)) {
          break;
        }
        if (!CreateInput(inputs[i], body_graph, StrCat("body_input", i).c_str(),
                         &body_inputs[i], status)) {
          break;
        }
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 03:35:10 UTC 2024
    - 102.3K bytes
    - Viewed (0)
Back to top