Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for OkStatus (0.67 sec)

  1. tensorflow/c/eager/unified_api_testutil.h

      TFE_TensorHandle* input_eager =
          TestTensorHandleWithDims<T, datatype>(eager_ctx, data, dims, num_dims);
      *tensor =
          unwrap(TF_CreateAbstractTensorFromEagerTensor(input_eager, status.get()));
      return absl::OkStatus();
    }
    
    // Return a scalar tensor handle with given value.
    template <class T, TF_DataType datatype>
    Status TestScalarTensorHandle(AbstractContext* ctx, const T value,
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Feb 27 13:57:45 GMT 2024
    - 4K bytes
    - Viewed (0)
  2. tensorflow/c/eager/tape.h

            op_type, output_tensors, input_tensor_id, input_dtypes,
            backward_function_getter, backward_function_deleter);
        return absl::OkStatus();
      }
      if (!ShouldRecord(input_tensor_id, input_dtypes)) {
        return absl::OkStatus();
      }
    
      // We may need to allocate zero inputs for trainable dtypes we don't have JVPs
      // for. Make sure they get cleaned up.
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Apr 02 12:40:29 GMT 2024
    - 47.2K bytes
    - Viewed (1)
  3. tensorflow/c/experimental/grappler/grappler_internal.h

      bool UsesFunctionLibrary() const override { return false; }
      Status Init(
          const tensorflow::RewriterConfig_CustomGraphOptimizer* config) override {
        return OkStatus();
      }
      Status Optimize(Cluster* cluster, const GrapplerItem& item,
                      GraphDef* optimized_graph_def) override;
    
      ~CGraphOptimizer() override {
        if (optimizer_.destroy_func != nullptr) {
    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)
  4. tensorflow/c/eager/gradients.h

    //     grad_outputs[0] = grad_inputs[0];
    //     grad_outputs[1] = grad_inputs[0];
    //     grad_outputs[0]->Ref();
    //     grad_outputs[1]->Ref();
    //     return OkStatus();
    //   }
    //   ~AddGradientFunction() override {}
    // };
    //
    // GradientFunction* AddRegisterer(const ForwardOperation& op) {
    //   // More complex gradient functions can use inputs/attrs etc. from the
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Sep 26 10:27:05 GMT 2022
    - 6.9K bytes
    - Viewed (0)
Back to top