Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 36 for Register (0.19 sec)

  1. tensorflow/c/experimental/gradients/nn_grad_test.cc

     public:
      bool UseMlir() const { return strcmp(std::get<0>(GetParam()), "mlir") == 0; }
      bool UseFunction() const { return std::get<2>(GetParam()); }
    };
    
    TEST_P(CppGradients, TestReluGrad) {
      status_ = registry_.Register("Relu", ReluRegisterer);
      ASSERT_EQ(errors::OK, status_.code()) << status_.message();
    
      auto ReluGradModel = BuildGradModel(ReluModel, registry_);
    
    C++
    - Registered: Tue Mar 26 12:39:09 GMT 2024
    - Last Modified: Wed Feb 28 13:53:47 GMT 2024
    - 8.3K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/grappler/grappler_internal.h

          (*optimizer_.destroy_func)(c_optimizer_);
        }
      }
    
     private:
      TP_Optimizer optimizer_;
      std::string device_type_;
      void* c_optimizer_;
    };
    
    // Registration function to register a CGraphOptimizer along with plugin configs
    // and device type.
    void CGraphOptimizerRegister(
        const PluginGraphOptimizerRegistry::Creator& creator,
        const TP_OptimizerConfigs tp_configs, const char* device_type);
    
    C
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Wed Jun 08 08:58:23 GMT 2022
    - 3.5K bytes
    - Viewed (1)
  3. tensorflow/c/c_api_test.cc

      REGISTER_OP("CApiAttributesTestOpList" #type)               \
          .Attr("v: list(" #type ")")                             \
          .SetShapeFn(tensorflow::shape_inference::UnknownShape)
    ATTR_TEST_REGISTER_OP(string);
    ATTR_TEST_REGISTER_OP(int);
    ATTR_TEST_REGISTER_OP(float);
    ATTR_TEST_REGISTER_OP(bool);
    ATTR_TEST_REGISTER_OP(type);
    ATTR_TEST_REGISTER_OP(shape);
    ATTR_TEST_REGISTER_OP(tensor);
    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. ci/official/requirements_updater/WORKSPACE

    )
    
    updater_config_repository(name = "updater_config_repository")
    
    python_register_multi_toolchains(
        name = "python",
        default_version = default_python_version,
        ignore_root_user_error = True,
        python_versions = [
            "3.9",
            "3.10",
            "3.11",
            "3.12",
        ],
        register_coverage_tool = True,
    )
    
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Apr 05 22:12:56 GMT 2024
    - 1.6K bytes
    - Viewed (1)
  5. tensorflow/c/experimental/filesystem/modular_filesystem.cc

    // TODO(b/139060984): After all filesystems are converted, all calls to
    // methods from `FileSystem` will have to be replaced to calls to private
    // methods here, as part of making this class a singleton and the only way to
    // register/use filesystems.
    
    namespace tensorflow {
    
    using UniquePtrTo_TF_Status =
        ::std::unique_ptr<TF_Status, decltype(&TF_DeleteStatus)>;
    
    Status ModularFileSystem::NewRandomAccessFile(
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Sep 06 19:12:29 GMT 2023
    - 23.1K bytes
    - Viewed (0)
  6. tensorflow/c/eager/c_api_test.cc

    }
    TEST(CAPI, ExecuteWithTracing) { ExecuteWithTracing(false); }
    TEST(CAPI, ExecuteWithTracingAsync) { ExecuteWithTracing(true); }
    
    REGISTER_OP("TestNonCommUnavailable")
        .Output("out: string")
        .Doc(R"doc(Test non-communication op throwing Unavailable error.)doc");
    
    REGISTER_OP("TestCommUnavailable")
        .Output("out: string")
        .SetIsDistributedCommunication()
    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)
  7. tensorflow/c/experimental/filesystem/modular_filesystem_registration.cc

      if (ops == nullptr)
        return errors::FailedPrecondition(
            "Trying to register filesystem without operations");
    
      if (ops->init == nullptr)
        return errors::FailedPrecondition(
            "Trying to register filesystem without `init` operation");
    
      if (ops->cleanup == nullptr)
        return errors::FailedPrecondition(
            "Trying to register filesystem without `cleanup` operation");
    
      return OkStatus();
    }
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Mar 07 22:08:43 GMT 2023
    - 12.8K bytes
    - Viewed (0)
  8. WORKSPACE

    py_repositories()
    
    load("@rules_python//python:repositories.bzl", "python_register_toolchains")  # buildifier: disable=same-origin-load
    load(
        "//tensorflow/tools/toolchains/python:python_repo.bzl",
        "python_repository",
    )
    
    python_repository(name = "python_version_repo")
    
    load("@python_version_repo//:py_version.bzl", "TF_PYTHON_VERSION")
    
    python_register_toolchains(
        name = "python",
        ignore_root_user_error = True,
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Fri Apr 05 22:27:48 GMT 2024
    - 3K bytes
    - Viewed (2)
  9. tensorflow/c/experimental/gradients/math_grad_test.cc

        ASSERT_EQ(errors::OK, status_.code()) << status_.message();
        y.reset(y_raw);
      }
    
      // TODO(srbs): Rename ops::Add to ops::AddV2 and AddRegister to
      // AddV2Registerer.
      status_ = registry_.Register("AddV2", AddRegisterer);
      ASSERT_EQ(errors::OK, status_.code()) << status_.message();
    
      ASSERT_NO_FATAL_FAILURE(CompareNumericalAndAutodiffGradients(
          AddModel, BuildGradModel(AddModel, registry_),
    C++
    - Registered: Tue Mar 26 12:39:09 GMT 2024
    - Last Modified: Thu Apr 13 17:32:14 GMT 2023
    - 16.3K bytes
    - Viewed (0)
  10. ci/official/wheel_test/WORKSPACE

    )
    
    python_repository(name = "python_version_repo")
    
    load("@python_version_repo//:py_version.bzl", "TF_PYTHON_VERSION")
    
    # Register multi toolchains
    load("@rules_python//python:repositories.bzl", "python_register_toolchains")  # buildifier: disable=same-origin-load
    
    python_register_toolchains(
        name = "python",
        ignore_root_user_error = True,
        python_version = TF_PYTHON_VERSION,
    )
    
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Apr 05 22:27:48 GMT 2024
    - 1.9K bytes
    - Viewed (0)
Back to top