Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 24 for Raw (0.12 sec)

  1. tensorflow/c/eager/gradients_test.cc

      {
        AbstractContext* ctx_raw = nullptr;
        Status s =
            BuildImmediateExecutionContext(std::get<1>(GetParam()), &ctx_raw);
        ASSERT_EQ(errors::OK, s.code()) << s.message();
        ctx.reset(ctx_raw);
      }
    
      AbstractTensorHandlePtr t;
      {
        AbstractTensorHandle* x_raw = nullptr;
        Status s = TestScalarTensorHandle<float, TF_FLOAT>(ctx.get(), 1.0f, &x_raw);
        ASSERT_EQ(errors::OK, s.code()) << s.message();
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 7K bytes
    - Viewed (0)
  2. tensorflow/c/eager/gradient_checker.cc

        int64_t vals_shape[] = {num_dims_out};
        Range(&vals, 0, num_dims_out);
        AbstractTensorHandle* sum_dims_raw = nullptr;
        TF_RETURN_IF_ERROR(TestTensorHandleWithDims<int32_t, TF_INT32>(
            ctx, vals.data(), vals_shape, 1, &sum_dims_raw));
        sum_dims.reset(sum_dims_raw);
      }
    
      // Reduce sum the output on all dimensions.
      TF_RETURN_IF_ERROR(ops::Sum(ctx, model_out.get(), sum_dims.get(), &outputs[0],
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 7.3K bytes
    - Viewed (0)
  3. tensorflow/c/eager/c_api_unified_experimental_graph.cc

      void Release() override { delete this; }
      Status Reset(const char* op, const char* raw_device_name) override {
        if (op_) {
          return errors::FailedPrecondition("Reset called on already built op.");
        }
        if (raw_device_name) {
          device_name_ = raw_device_name;
        }
        op_type_ = op;
        return absl::OkStatus();
      }
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Mar 12 20:00:09 GMT 2024
    - 15.4K bytes
    - Viewed (1)
  4. SECURITY.md

    when dealing with untrusted data. Based on the security history of these
    libraries we consider that it is safe to work with untrusted inputs for PNG,
    BMP, GIF, WAV, RAW, RAW\_PADDED, CSV and PROTO formats. All other input formats,
    including tensorflow-io should be sandboxed if used to process untrusted data.
    
    For example, if an attacker were to upload a malicious video file, they could
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Sun Oct 01 06:06:35 GMT 2023
    - 9.6K bytes
    - Viewed (0)
  5. tensorflow/c/eager/gradients_internal.h

    // These APIs are mainly to facilitate testing and are subject to change.
    
    // Records the op name in the `ForwardOperation`.
    Status Reset(AbstractOperation*, const char* op, const char* raw_device_name,
                 ForwardOperation*);
    
    // Records the inputs in the `ForwardOperation`.
    Status AddInput(AbstractOperation*, AbstractTensorHandle*, ForwardOperation*);
    Status AddInputList(AbstractOperation*,
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Sun Oct 24 11:27:35 GMT 2021
    - 4.2K bytes
    - Viewed (0)
  6. RELEASE.md

    *   Fixes a security vulnerability caused by lack of validation in
        `tf.raw_ops.DataFormatVecPermute` and `tf.raw_ops.DataFormatDimMap`
        ([CVE-2020-26267](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-26267))
    *   Fixes a vulnerability caused by attempting to write to immutable memory
        region in `tf.raw_ops.ImmutableConst`
        ([CVE-2020-26268](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-26268)
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Mon Apr 29 19:17:57 GMT 2024
    - 727.7K bytes
    - Viewed (8)
  7. tensorflow/c/experimental/gradients/tape/tape_operation.h

    namespace gradients {
    class TapeOperation : public AbstractOperation {
     public:
      explicit TapeOperation(AbstractOperation*, Tape*, const GradientRegistry&);
      void Release() override;
      Status Reset(const char* op, const char* raw_device_name) override;
      const string& Name() const override;
      const string& DeviceName() const override;
      Status SetDeviceName(const char* name) override;
      Status AddInput(AbstractTensorHandle* input) override;
    C
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Wed Sep 23 23:12:39 GMT 2020
    - 3.7K bytes
    - Viewed (1)
  8. tensorflow/c/eager/c_api_unified_experimental.cc

    void TF_AbstractOpSetOpType(TF_AbstractOp* op, const char* const op_type,
                                TF_Status* s) {
      tsl::Set_TF_Status_from_Status(
          s, unwrap(op)->Reset(op_type,
                               /*raw_device_name=*/nullptr));
    }
    
    void TF_AbstractOpSetOpName(TF_AbstractOp* op, const char* const op_name,
                                TF_Status* s) {
      TracingOperation* tracing_op = dyn_cast<TracingOperation>(unwrap(op));
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 9K bytes
    - Viewed (0)
  9. tensorflow/c/eager/c_api_experimental.h

    #include "tensorflow/c/eager/c_api.h"
    
    #ifdef __cplusplus
    extern "C" {
    #endif
    
    // Resets `op_to_reset` with `op_or_function_name` and `raw_device_name`. This
    // is for performance optimization by reusing an exiting unused op rather than
    // creating a new op every time. If `raw_device_name` is `NULL` or empty, it
    // does not set the device name. If it's not `NULL`, then it attempts to parse
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 39.5K bytes
    - Viewed (0)
  10. tensorflow/c/eager/unified_api_testutil.cc

            output->Unref();
          }
          TF_RETURN_IF_ERROR(ctx->RegisterFunction(func));
        }
    
        AbstractOperationPtr fn_op(ctx->CreateOperation());
        TF_RETURN_IF_ERROR(fn_op->Reset(fn_name, /*raw_device_name=*/nullptr));
        for (auto input : inputs) {
          TF_RETURN_IF_ERROR(fn_op->AddInput(input));
        }
        int retvals = outputs.size() - null_indices.size();
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Feb 27 13:57:45 GMT 2024
    - 5.7K bytes
    - Viewed (0)
Back to top