Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 196 for GENERATOR (0.12 sec)

  1. tensorflow/c/experimental/ops/gen/common/case_format_test.cc

    #include "tensorflow/c/experimental/ops/gen/common/case_format.h"
    
    #include "tensorflow/core/platform/test.h"
    #include "tensorflow/core/platform/types.h"
    
    namespace tensorflow {
    namespace generator {
    
    namespace {
    
    // For each test case, we manually construct the 4 variations in string case and
    // test all 16 conversions: from and to each of the 4 string case variations.
    struct Variations {
      string lower_camel;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 09:51:28 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/ops/gen/common/source_code.cc

    #include "absl/strings/str_cat.h"
    #include "tensorflow/core/lib/strings/str_util.h"
    #include "tensorflow/core/platform/logging.h"
    #include "tensorflow/core/platform/stringpiece.h"
    
    namespace tensorflow {
    namespace generator {
    
    string SourceCode::Render() const {
      string code;
      for (const Line& line : lines_) {
        absl::StrAppend(&code, string(line.indent * spaces_per_indent_, ' '),
                        line.text, "\n");
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 09:51:28 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/ops/gen/cpp/views/op_argument_view.cc

    #include "tensorflow/c/experimental/ops/gen/model/arg_spec.h"
    #include "tensorflow/c/experimental/ops/gen/model/attr_spec.h"
    #include "tensorflow/core/platform/types.h"
    
    namespace tensorflow {
    namespace generator {
    namespace cpp {
    
    string OpArgumentView::Declaration() const {
      return absl::Substitute("$0 $1", type_name_, variable_name_);
    }
    
    string OpArgumentView::Initializer() const {
      if (default_value_.empty()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jun 03 07:02:00 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/ops/gen/common/case_format.cc

    #include "tensorflow/c/experimental/ops/gen/common/case_format.h"
    
    #include "tensorflow/core/platform/str_util.h"
    #include "tensorflow/core/platform/types.h"
    
    namespace tensorflow {
    namespace generator {
    
    namespace {
    
    enum CaseFormatType {
      LOWER_CAMEL,
      UPPER_CAMEL,
      LOWER_SNAKE,
      UPPER_SNAKE,
    };
    
    string FormatStringCase(const string &str, CaseFormatType to,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 09:51:28 UTC 2024
    - 3K bytes
    - Viewed (0)
  5. platforms/software/build-init/src/test/groovy/org/gradle/buildinit/plugins/internal/GitAttributesGeneratorTest.groovy

            1 * attributesFile.asFile >> gitattributesFile
        }
    
        def "generates .gitattributes file"() {
            setup:
            def generator = new GitAttributesGenerator()
    
            when:
            generator.generate(settings, null)
    
            then:
            gitattributesFile.file
            gitattributesFile.text == toPlatformLineSeparators("${getGeneratedGitattributesContent()}")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 12:54:54 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  6. src/runtime/rand.go

    func bootstrapRand() uint64 {
    	lock(&globalRand.lock)
    	if !globalRand.init {
    		fatal("randinit missed")
    	}
    	for {
    		if x, ok := globalRand.state.Next(); ok {
    			unlock(&globalRand.lock)
    			return x
    		}
    		globalRand.state.Refill()
    	}
    }
    
    // bootstrapRandReseed reseeds the bootstrap random number generator,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 14:32:47 UTC 2024
    - 8K bytes
    - Viewed (0)
  7. tensorflow/c/experimental/ops/gen/common/controller.cc

    #include "tensorflow/core/platform/env.h"
    #include "tensorflow/core/platform/logging.h"
    #include "tensorflow/core/platform/path.h"
    #include "tsl/platform/status.h"
    
    namespace tensorflow {
    namespace generator {
    
    Controller::Controller(PathConfig path_config, Env* env)
        : env_(env), path_config_(path_config) {
      // Load the Op and API definitions
      InitializeOpApi();
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 09:51:28 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  8. tensorflow/c/experimental/ops/gen/cpp/views/op_view.cc

    #include "tensorflow/c/experimental/ops/gen/model/op_spec.h"
    #include "tensorflow/core/lib/strings/str_util.h"
    #include "tensorflow/core/platform/logging.h"
    
    namespace tensorflow {
    namespace generator {
    namespace cpp {
    
    OpView::OpView(OpSpec op)
        : op_(op),
          input_args_(op_.Inputs().begin(), op_.Inputs().end()),
          output_args_(op_.Outputs().begin(), op_.Outputs().end()),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jun 03 07:02:00 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

          generator.addSampleInstances((Class) entry.getKey(), entry.getValue());
        }
        return generator;
      }
    
      private static @Nullable Object generateDummyArg(Parameter param, FreshValueGenerator generator)
          throws ParameterNotInstantiableException {
        if (isNullable(param)) {
          return null;
        }
        Object arg = generator.generateFresh(param.getType());
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  10. .space/CODEOWNERS

    /generators/sir-tests-generator/ "Kotlin Native"
    /generators/protobuf/ "Kotlin Build Infrastructure"
    # UNKNOWN: /generators/protobufCompare/
    /generators/test-generator/ "Kotlin Compiler Core" "Kotlin JVM" "Kotlin Native" "Kotlin Wasm" "Kotlin Common Backend"
    /generators/tests/ "Kotlin Compiler Core" "Kotlin JVM" "Kotlin Native" "Kotlin Wasm" "Kotlin Common Backend"
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 29 17:55:49 UTC 2024
    - 24K bytes
    - Viewed (0)
Back to top