Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 65 for as_str (0.18 sec)

  1. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/gtest-test-part.h

      const char* file_name() const {
        return file_name_.empty() ? NULL : file_name_.c_str();
      }
    
      // Gets the line in the source file where the test part took place,
      // or -1 if it's unknown.
      int line_number() const { return line_number_; }
    
      // Gets the summary of the failure message.
      const char* summary() const { return summary_.c_str(); }
    
      // Gets the message associated with the test part.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/flatbuffer_to_string.cc

                                        std::istreambuf_iterator<char>()};
      }
    
      flatbuffers::Verifier model_verifier(
          reinterpret_cast<const uint8_t*>(serialized_model->c_str()),
          serialized_model->length());
      if (!model_verifier.VerifyBuffer<Model>()) {
        std::cerr << "Verification failed.\n";
        return true;
      }
      return false;
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 15:52:23 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/experimental/tac/execution_metadata_exporter_test.cc

      auto module_op = module.get();
      auto serialized_result_fb = ExportRuntimeMetadata(module_op);
      const auto* result = GetRuntimeMetadata(serialized_result_fb.value().c_str());
      const auto* expected = GetRuntimeMetadata(kExpectedFB.c_str());
      ASSERT_TRUE(result != nullptr);
      ASSERT_TRUE(result->subgraph_metadata() != nullptr);
      ASSERT_TRUE(expected->subgraph_metadata() != nullptr);
      Verify(result, expected);
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 06:11:34 UTC 2024
    - 6K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/flatbuffer_export.cc

        std::string flops_str;
        std::string mac_str;
        if (ops_count < 10000) {
          flops_str = absl::StrFormat("%ld ", ops_count);
          mac_str = absl::StrFormat("%ld ", ops_count / 2);
        } else if (ops_count < billion) {
          flops_str =
              absl::StrFormat("%.3f M ", static_cast<double>(ops_count) / million);
          mac_str = absl::StrFormat("%.3f M ",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:41:49 UTC 2024
    - 164.5K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/quantization/lite/tfl_quantizer.cc

    }  // namespace
    }  // 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: Wed Jun 12 23:15:24 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tf2xla/api/v2/legalize_tf_test.cc

      std::string mat_mul_method =
          absl::StrFormat(kMatMulModuleStr, test_case.mat_mul_method);
      TF_ASSERT_OK_AND_ASSIGN(
          XlaCompiler::CompilationResult result,
          CompileMlirModule(
              mat_mul_method.c_str(),
              ConfigProto::Experimental::MLIR_BRIDGE_ROLLOUT_UNSPECIFIED));
    }
    
    INSTANTIATE_TEST_SUITE_P(
        BatchMatMulTest, BatchMatMulTest,
        ::testing::ValuesIn<MatMulTestCase>({
            {"BatchMatMul"},
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 13 23:59:33 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  7. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-string.h

      // delete[].  Returns the cloned string, or NULL if the input is
      // NULL.
      //
      // This is different from strdup() in string.h, which allocates
      // memory using malloc().
      static const char* CloneCString(const char* c_str);
    
    #if GTEST_OS_WINDOWS_MOBILE
      // Windows CE does not have the 'ANSI' versions of Win32 APIs. To be
      // able to pass strings to Win32 APIs on CE we need to convert them
      // to 'Unicode', UTF-16.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  8. tests/test_path.py

            {
                "detail": [
                    {
                        "loc": ["path", "item_id"],
                        "msg": "ensure this value has at least 3 characters",
                        "type": "value_error.any_str.min_length",
                        "ctx": {"limit_value": 3},
                    }
                ]
            }
        )
    
    
    def test_path_param_maxlength_foo():
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 34.4K bytes
    - Viewed (0)
  9. tests/test_annotated.py

            | IsDict(
                {
                    "ctx": {"limit_value": 1},
                    "loc": ["query", "foo"],
                    "msg": "ensure this value has at least 1 characters",
                    "type": "value_error.any_str.min_length",
                }
            )
        ]
    }
    
    
    @pytest.mark.parametrize(
        "path,expected_status,expected_response",
        [
            ("/default", 200, {"foo": "foo"}),
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  10. tensorflow/c/eager/c_api_unified_experimental_graph.cc

        // this may not be consistent with python's naming policy.
        mutex_lock l(g_->mu);
        op_.reset(new TF_OperationDescription(g_, op_type_.c_str(),
                                              g_->graph.NewName(op_name).c_str()));
        return absl::OkStatus();
      }
      const string& Name() const override { return op_type_; }
      const string& DeviceName() const override { return device_name_; }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 20:00:09 UTC 2024
    - 15.4K bytes
    - Viewed (0)
Back to top