Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for Difference (0.17 sec)

  1. tensorflow/c/eager/gradient_checker.cc

        AbstractTensorHandlePtr fMinus(f_outputs[0]);
    
        // Take Difference of both estimates: (f(theta + eps) - f(theta - eps)).
        TF_RETURN_IF_ERROR(
            ops::Sub(ctx, fPlus.get(), fMinus.get(), f_outputs, "sub_top"));
        AbstractTensorHandlePtr fDiff(f_outputs[0]);
    
        // Calculate using the difference quotient definition:
        // (f(theta + eps) - f(theta - eps)) / (2 * eps).
        TF_RETURN_IF_ERROR(
    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)
  2. tensorflow/c/c_api_internal.h

    struct TF_Library {
      void* lib_handle;
      TF_Buffer op_list;
    };
    
    struct TF_Graph {
      TF_Graph();
    
      mutable tensorflow::mutex mu;
      tensorflow::Graph graph TF_GUARDED_BY(mu);
    
      // Runs shape inference.
      tensorflow::ShapeRefiner refiner TF_GUARDED_BY(mu);
    
      // Maps from name of an operation to the Node* in 'graph'.
      std::unordered_map<tensorflow::string, tensorflow::Node*> name_map
          TF_GUARDED_BY(mu);
    
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Sat May 13 00:49:12 GMT 2023
    - 7.6K bytes
    - Viewed (0)
  3. tensorflow/c/c_api_test.cc

      TF_CHECK_OK(MessageToBuffer(node_in, buffer));
      TF_CHECK_OK(BufferToMessage(buffer, &node_out));
      TF_DeleteBuffer(buffer);
    
      protobuf::util::MessageDifferencer differencer;
      EXPECT_TRUE(differencer.Compare(node_in, node_out));
    }
    
    TEST(CAPI, TestTensorNonScalarBytesAllocateDelete) {
      const int batch_size = 4;
      const int num_dims = 2;
      int64_t* dims = new int64_t[num_dims];
    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/eager/c_api_test.cc

      CHECK(tensorflow::unwrap(concatOp)->OpDef());
      TFE_OpAddInput(concatOp, inputs[0], status);
      CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
      EXPECT_FALSE(tensorflow::unwrap(concatOp)->OpDef())
          << "Inference context is still present";
      TFE_OpAddInput(concatOp, inputs[1], status);
      CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
    
      tensorflow::AttrValueMap attr_values = ExtractAttrs(concatOp);
    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)
  5. tensorflow/c/c_api.cc

    }
    
    namespace {
    
    // Helper method that creates a shape handle for a shape described by dims.
    tensorflow::shape_inference::ShapeHandle ShapeHandleFromDims(
        tensorflow::shape_inference::InferenceContext* ic, int num_dims,
        const int64_t* dims) {
      if (num_dims != -1) {
        std::vector<tensorflow::shape_inference::DimensionHandle> dim_vec;
        dim_vec.reserve(num_dims);
        for (int i = 0; i < num_dims; ++i) {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 102.3K bytes
    - Viewed (0)
  6. SECURITY.md

    inspected and debugged and it is intended to be used during the development
    phase.
    
    As part of the differences that make Eager mode easier to debug, the [shape
    inference
    functions](https://www.tensorflow.org/guide/create_op#define_the_op_interface)
    are skipped, and any checks implemented inside the shape inference code are not
    executed.
    
    The security impact of skipping those checks should be low, since the attack
    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)
  7. .github/ISSUE_TEMPLATE/tflite-converter-issue.md

    ```
    (You can paste links or attach files by dragging & dropping them below)
    - Provide links to your updated versions of the above two colab notebooks.
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Wed Jun 15 03:35:58 GMT 2022
    - 2.1K bytes
    - Viewed (0)
  8. RELEASE.md

    *   Added a `model.export(filepath)` API to create a lightweight SavedModel artifact that can be used for inference (e.g. with TF-Serving).
    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)
  9. tensorflow/c/experimental/grappler/grappler.h

    // If assume_valid_feeds is true, it can help infer shapes in the fanout of fed
    // nodes. This may cause incorrectness in graph analyses, but is useful for
    // simulation or scheduling.
    // If aggressive_shape_inference is true, nodes are executed on the host to
    // identify output values when possible and does other aggressive strategies.
    // This may cause incorrectness in graph analyses, but is useful for simulation
    // or scheduling.
    C
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Wed Aug 03 18:08:43 GMT 2022
    - 12.5K bytes
    - Viewed (0)
  10. tensorflow/c/experimental/grappler/grappler.cc

          graph_properties);
    }
    
    void TF_InferStatically(TF_GraphProperties* graph_properties,
                            TF_Bool assume_valid_feeds,
                            TF_Bool aggressive_shape_inference,
                            TF_Bool include_input_tensor_values,
                            TF_Bool include_output_tensor_values,
                            TF_Status* status) {
      TF_SetStatus(status, TF_OK, "");
    C++
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Wed Sep 06 19:12:29 GMT 2023
    - 15K bytes
    - Viewed (1)
Back to top