Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for from (0.16 sec)

  1. tensorflow/c/c_api.cc

          ->set_disable_optimize_for_static_graph(true);
    }
    
    void TF_TensorFromProto(const TF_Buffer* from, TF_Tensor* to,
                            TF_Status* status) {
      TF_SetStatus(status, TF_OK, "");
      tensorflow::TensorProto from_tensor_proto;
      status->status = BufferToMessage(from, &from_tensor_proto);
      if (!status->status.ok()) {
        return;
      }
      status->status =
    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)
  2. tensorflow/c/c_api_test.cc

      TF_Graph* g1 = TF_NewGraph();
      TF_Graph* g2 = TF_NewGraph();
    
      TF_Operation* feed = Placeholder(g1, s);
      ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
    
      // Attempt to create node in g2 with input from g1
      Neg(feed, g2, s);
      EXPECT_EQ(TF_INVALID_ARGUMENT, TF_GetCode(s));
      EXPECT_STREQ("foo", TF_Message(s));
    
      TF_DeleteGraph(g1);
      TF_DeleteGraph(g2);
      TF_DeleteStatus(s);
    }
    */
    
    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)
  3. tensorflow/c/c_api_function.cc

      tensorflow::FunctionDef fdef;
      status->status = tensorflow::GraphToFunctionDef(
          fn_body->graph, fn_name, append_hash_to_fn_name != 0,
          /*set_stateful_from_nodes=*/true,
          /*copy_placeholder_attrs_from_nodes=*/true, body_nodes, input_tensors,
          output_tensors, output_names_vec, control_output_nodes,
          control_output_names_vec, description, &fdef);
      if (TF_GetCode(status) != TF_OK) {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 13.6K bytes
    - Viewed (2)
  4. configure.py

    """configure script to get build parameters from user."""
    
    import argparse
    import errno
    import glob
    import json
    import os
    import platform
    import re
    import subprocess
    import sys
    
    # pylint: disable=g-import-not-at-top
    try:
      from shutil import which
    except ImportError:
      from distutils.spawn import find_executable as which
    # pylint: enable=g-import-not-at-top
    
    Python
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 18:25:36 GMT 2024
    - 53.8K bytes
    - Viewed (0)
  5. tensorflow/c/eager/tape.h

      std::function<void(BackwardFunction*)> backward_function_deleter;
    };
    
    // Map from tensor_id to internally-defined operation-id of the operation which
    // produced this tensor. A value of -1 means that the tensor was directly
    // watched and not the result of any operation in the tape.
    using TensorTape = std::unordered_map<int64_t, int64_t>;
    
    // Map from operation-id to tape entry.
    template <typename BackwardFunction, typename TapeTensor>
    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)
  6. tensorflow/c/c_api_experimental.cc

      opts->opts.validate_colocation_constraints = enable;
    }
    
    // Load a Pluggable Device library.
    // On success, returns the handle to library in result and return OK from the
    // function. Otherwise return nullptr in result and error Status from the
    // function.
    //
    // If `library_filename` has already been loaded, we return a cached handle.
    // Device and Kernels/Ops are registered as globals when a library is loaded
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 29.4K bytes
    - Viewed (0)
  7. .bazelrc

    build --define tsl_protobuf_header_only=true
    
    build --define=use_fast_cpp_protos=true
    build --define=allow_oversize_protos=true
    
    build --spawn_strategy=standalone
    build -c opt
    
    # Make Bazel print out all options from rc files.
    build --announce_rc
    
    # TODO(mihaimaruseac): Document this option or remove if no longer needed
    build --define=grpc_no_ares=true
    
    # See https://github.com/bazelbuild/bazel/issues/7362 for information on what
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Apr 24 20:50:35 GMT 2024
    - 52.6K bytes
    - Viewed (2)
  8. tensorflow/c/eager/c_api_experimental.cc

                                                      TF_Status* status,
                                                      const char* description) {
      auto* result = new TFE_MonitoringCounter0({name, description});
      tsl::Set_TF_Status_from_Status(status, result->counter->GetStatus());
      if (!result->counter->GetStatus().ok()) {
        delete result;
        return nullptr;
      }
      return result;
    }
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 11 23:52:39 GMT 2024
    - 35.9K bytes
    - Viewed (3)
  9. RELEASE.md

        *   Upgrade Flatbuffers v2.0.5 from v1.12.0
    
    *   `tf.keras`:
    
        *   `EinsumDense` layer is moved from experimental to core. Its import path
            is moved from `tf.keras.layers.experimental.EinsumDense` to
            `tf.keras.layers.EinsumDense`.
        *   Added `tf.keras.utils.audio_dataset_from_directory` utility to easily
            generate audio classification datasets from directories of `.wav` files.
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 29 19:17:57 GMT 2024
    - 727.7K bytes
    - Viewed (8)
  10. WORKSPACE

    # restriction that load() statements need to be at the top of .bzl files.
    # E.g. we can not retrieve a new repository with http_archive and then load()
    # a macro from that repository in the same file.
    load("@//tensorflow:workspace3.bzl", "tf_workspace3")
    
    tf_workspace3()
    
    load("@//tensorflow:workspace2.bzl", "tf_workspace2")
    
    tf_workspace2()
    
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Apr 05 22:27:48 GMT 2024
    - 3K bytes
    - Viewed (2)
Back to top