Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. 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 23 12:39:09 GMT 2024
    - Last Modified: Tue Mar 07 22:08:43 GMT 2023
    - 12.8K bytes
    - Viewed (0)
  2. 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 23 12:39:09 GMT 2024
    - Last Modified: Fri Apr 05 22:12:56 GMT 2024
    - 1.6K bytes
    - Viewed (1)
  3. 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 Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Apr 05 22:27:48 GMT 2024
    - 3K bytes
    - Viewed (2)
  4. 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)
  5. tensorflow/c/experimental/gradients/not_differentiable.cc

      for (int i = 0; i < grad_inputs.size(); i++) {
        grad_inputs[i] = nullptr;
      }
      return OkStatus();
    }
    
    Status RegisterNotDifferentiable(GradientRegistry* registry, const string& op) {
      return registry->Register(op, [](const ForwardOperation& op) {
        return new NotDifferentiableGradientFunction;
      });
    }
    }  // namespace gradients
    C++
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Wed Jun 15 01:15:58 GMT 2022
    - 1.3K bytes
    - Viewed (0)
  6. tensorflow/c/experimental/ops/README.md

    category names correspond to generated source file names, and should be
    consistent with the original source files registering each operator. For example
    since `REGISTER_OP("MatMul")` appears in ***core/math_ops.cc***, the "MatMul"
    operator in the script should be in the "math" category, and it will be
    generated in the output file `c/experimental/ops/math_ops.cc`.
    
    Plain Text
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Wed Jul 28 17:21:01 GMT 2021
    - 993 bytes
    - Viewed (0)
  7. tensorflow/c/eager/gradients.h

    //   // More complex gradient functions can use inputs/attrs etc. from the
    //   // forward `op`.
    //   return new AddGradientFunction;
    // }
    //
    // Status RegisterGradients(GradientRegistry* registry) {
    //   return registry->Register("Add", AddRegisterer);
    // }
    class GradientFunction {
     public:
      virtual Status Compute(AbstractContext* ctx,
                             absl::Span<AbstractTensorHandle* const> grad_outputs,
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Sep 26 10:27:05 GMT 2022
    - 6.9K bytes
    - Viewed (0)
  8. tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem_static.cc

    #include "tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem.h"
    #include "tensorflow/core/platform/status.h"
    
    namespace tensorflow {
    
    // Register the POSIX filesystems statically.
    // Return value will be unused
    bool StaticallyRegisterLocalFilesystems() {
      TF_FilesystemPluginInfo info;
      TF_InitPlugin(&info);
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Sun Mar 24 20:08:23 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  9. 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)
  10. 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 23 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 96.9K bytes
    - Viewed (3)
Back to top