Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for some (0.29 sec)

  1. tensorflow/c/experimental/filesystem/modular_filesystem_test.cc

      std::unique_ptr<WritableFile> same_file;
      status = env_->NewAppendableFile(filepath, &same_file);
      if (!status.ok())
        GTEST_SKIP() << "NewAppendableFile() not supported: " << status;
    
      const std::string more_test_data("qwer");
      EXPECT_EQ(same_file->Append(more_test_data).code(), Code::OK);
      EXPECT_EQ(same_file->Flush().code(), Code::OK);
      EXPECT_EQ(same_file->Close().code(), Code::OK);
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 27 20:25:58 GMT 2022
    - 71K bytes
    - Viewed (0)
  2. tensorflow/c/eager/c_api_test.cc

        TFE_OpSetAttrString(
            op, "config_proto",
            reinterpret_cast<const void*>(serialized_config.c_str()),
            serialized_config.length());
      }
    
      if (use_tfrt) {
        // Set some test-only graph compiler options.
        TFE_OpSetAttrBool(op, "TFRT_TEST_enable_native_ops", false);
        TFE_OpSetAttrBool(op, "TFRT_TEST_enable_grappler", enable_grappler);
      }
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 20:50:20 GMT 2023
    - 94.6K bytes
    - Viewed (1)
  3. tensorflow/c/c_api_test.cc

      // Compare with first GraphDef + added NodeDef.
      NodeDef* added_node = graph_def.add_node();
      *added_node = node_def;
      EXPECT_EQ(graph_def.DebugString(), graph_def2.DebugString());
    
      // Look up some nodes by name.
      TF_Operation* neg2 = TF_GraphOperationByName(graph, "neg");
      EXPECT_TRUE(neg == neg2);
      NodeDef node_def2;
      ASSERT_TRUE(GetNodeDef(neg2, &node_def2));
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 96.9K bytes
    - Viewed (3)
  4. tensorflow/c/experimental/filesystem/filesystem_interface.h

      ///
      /// Similar to `rename_file`, but both `src` and `dst` exist after this call
      /// with the same contents. In case of error, both `src` and `dst` keep the
      /// same state as before the call.
      ///
      /// If `dst` is a directory, creates a file with the same name as the source
      /// inside the target directory.
      ///
      /// Plugins:
      ///   * Must set `status` to `TF_OK` if rename was completed.
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 27 17:36:54 GMT 2022
    - 53.1K bytes
    - Viewed (0)
  5. configure.py

      write_action_env_to_bazelrc('ANDROID_SDK_HOME', android_sdk_home_path)
    
    
    def get_ndk_api_level(environ_cp, android_ndk_home_path):
      """Gets the appropriate NDK API level to use for the provided Android NDK path.
      """
    
      # First check to see if we're using a blessed version of the NDK.
      properties_path = '%s/source.properties' % android_ndk_home_path
      if is_windows() or is_cygwin():
    Python
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 18:25:36 GMT 2024
    - 53.8K bytes
    - Viewed (1)
  6. .bazelrc

    # See https://github.com/protocolbuffers/upb/blob/9effcbcb27f0a665f9f345030188c0b291e32482/upb/upb.c#L183.
    build:rbe_linux_cpu --copt=-Wno-gnu-offsetof-extensions
    # Python config is the same across all containers because the binary is the same
    build:rbe_linux_cpu --repo_env=TF_PYTHON_CONFIG_REPO="@sigbuild-r2.17-clang_config_python"
    build:rbe_linux_cpu --python_path="/usr/bin/python3"
    # These you may need to change for your own GCP project.
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Thu May 02 19:34:20 GMT 2024
    - 52.8K bytes
    - Viewed (2)
  7. tensorflow/c/c_api_function_test.cc

        TF_OperationDescription* desc =
            TF_NewOperation(host_graph_, func_name_, func_node_name_);
        for (auto input : inputs) {
          TF_AddInput(desc, input);
        }
        // Set device to CPU because some ops inside the function might not be
        // available on GPU.
        TF_SetDevice(desc, "/cpu:0");
        *op = TF_FinishOperation(desc, s_);
        ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
        ASSERT_NE(*op, nullptr);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 20 22:08:54 GMT 2023
    - 63.6K bytes
    - Viewed (6)
  8. tensorflow/BUILD

        visibility = ["//visibility:public"],
    )
    
    # This flag disables all google production dependencies, intended for
    # applications run with non-prod environment.
    # TODO(timshen): Currently this option only disables some dependencies.
    # See b/122528503.
    # copybara:uncomment_begin(google-only)
    # bool_flag(
    #     name = "tf_no_prod_deps",
    #     build_setting_default = False,
    # )
    #
    # config_setting(
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Apr 09 18:15:11 GMT 2024
    - 53.4K bytes
    - Viewed (8)
  9. tensorflow/c/c_api.h

    //           `inputs` cannot contain the same tensor twice.
    //  noutputs - number of elements in `outputs` array
    //  outputs - array of TF_Outputs that specify the outputs of the function.
    //            If `noutputs` is zero (the function returns no outputs), `outputs`
    //            can be null. `outputs` can contain the same tensor more than once.
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Oct 26 21:08:15 GMT 2023
    - 82.3K bytes
    - Viewed (3)
Back to top