Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 127 for as_str (0.14 sec)

  1. tensorflow/compiler/aot/benchmark.cc

      printf("Benchmark ran %zu iterations over %lld us\n", count_us,
             static_cast<long long>(stats.total_us));  // NOLINT
      for (const auto& g : groups) {
        printf("  %-*s %*.3f us\n", max_label_size, g.first.c_str(), max_digits + 4,
               g.second);
      }
    }
    
    void Benchmark(const Options& options, const BenchmarkFn& fn, Stats* stats) {
      // If neither max_seconds or max_iters is set, stop at kDefaultMicros.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Sep 12 19:45:29 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/aot/embedded_protocol_buffers.cc

      const llvm::Target* target =
          llvm::TargetRegistry::lookupTarget(normalized_triple, error);
      if (target == nullptr) {
        return xla::Internal("TargetRegistry::lookupTarget failed: %s",
                             error.c_str());
      }
    
      return absl::WrapUnique(target->createTargetMachine(
          normalized_triple, /*CPU=*/"",
          /*Features=*/"", llvm::TargetOptions(), std::nullopt));
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Feb 26 00:48:41 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/quantization/lite/quantize_weights_test.cc

      return FlatBufferModel::BuildFromFile(model_path.c_str());
    }
    
    std::unique_ptr<FlatBufferModel> ReadSharedWeightsTestModel() {
      auto model_path = tensorflow::io::JoinPath(*g_test_model_dir,
                                                 internal::kModelWithSharedWeights);
      return FlatBufferModel::BuildFromFile(model_path.c_str());
    }
    
    std::unique_ptr<FlatBufferModel> ReadGatherTestModel() {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 23:15:24 UTC 2024
    - 32.3K bytes
    - Viewed (0)
  4. src/cmd/internal/obj/link.go

    	// ABIs.
    	ABIInternal
    
    	ABICount
    )
    
    // ParseABI converts from a string representation in 'abistr' to the
    // corresponding ABI value. Second return value is TRUE if the
    // abi string is recognized, FALSE otherwise.
    func ParseABI(abistr string) (ABI, bool) {
    	switch abistr {
    	default:
    		return ABI0, false
    	case "ABI0":
    		return ABI0, true
    	case "ABIInternal":
    		return ABIInternal, true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/gtest.h

      const char* test_case_name() const { return test_case_name_.c_str(); }
    
      // Returns the test name.
      const char* name() const { return name_.c_str(); }
    
      // Returns the name of the parameter type, or NULL if this is not a typed
      // or a type-parameterized test.
      const char* type_param() const {
        if (type_param_.get() != NULL)
          return type_param_->c_str();
        return NULL;
      }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 86.4K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/internal/gtest-param-util.h

              test_name_stream << test_info->test_base_name << "/" << i;
              MakeAndRegisterTestInfo(
                  test_case_name.c_str(),
                  test_name_stream.GetString().c_str(),
                  NULL,  // No type parameter.
                  PrintToString(*param_it).c_str(),
                  GetTestCaseTypeId(),
                  TestCase::SetUpTestCase,
                  TestCase::TearDownTestCase,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 23.6K bytes
    - Viewed (0)
  7. tensorflow/c/c_api_test.cc

          type = type.replace(0, 5, "");
          type = type.replace(type.size() - 1, 1, "");
        }
        op_name += type;
        return TF_NewOperation(
            graph_, op_name.c_str(),
            ::tensorflow::strings::StrCat("name", counter_++).c_str());
      }
    
      TF_Status* s_;
    
     private:
      TF_Graph* graph_;
      int counter_;
    };
    
    // Helper macros for the TF_OperationGetAttr* tests.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 03:35:10 UTC 2024
    - 96.9K bytes
    - Viewed (0)
  8. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-param-util.h

              test_name_stream << test_info->test_base_name << "/" << i;
              MakeAndRegisterTestInfo(
                  test_case_name.c_str(),
                  test_name_stream.GetString().c_str(),
                  NULL,  // No type parameter.
                  PrintToString(*param_it).c_str(),
                  GetTestCaseTypeId(),
                  TestCase::SetUpTestCase,
                  TestCase::TearDownTestCase,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/importer_test_min_max.cc

    }  // namespace mlir
    
    int main(int argc, char** argv) {
      llvm::InitLLVM y(argc, argv);
      llvm::cl::ParseCommandLineOptions(argc, argv);
      auto file_or_err = llvm::MemoryBuffer::getFileOrSTDIN(inputFileName.c_str());
      if (std::error_code error = file_or_err.getError()) {
        llvm::errs() << argv[0] << ": could not open input file '" << inputFileName
                     << "': " << error.message() << "\n";
        return 1;
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  10. src/cmd/asm/internal/asm/parse.go

    	} else if tok == scanner.Ident {
    		abistr := p.get(scanner.Ident).String()
    		if !p.allowABI {
    			if issueError {
    				p.errorf("ABI selector only permitted when compiling runtime, reference was to %q", name)
    			}
    		} else {
    			theabi, valid := obj.ParseABI(abistr)
    			if !valid {
    				if issueError {
    					p.errorf("malformed ABI selector %q in reference to %q",
    						abistr, name)
    				}
    			} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 14:34:57 UTC 2024
    - 36.9K bytes
    - Viewed (0)
Back to top