Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for can (0.16 sec)

  1. tensorflow/c/c_api_test.cc

      ASSERT_EQ(1, TF_OperationNumInputs(neg));
      TF_Output neg_input = TF_OperationInput({neg, 0});
      EXPECT_EQ(scalar, neg_input.oper);
      EXPECT_EQ(0, neg_input.index);
    
      // Test that we can't see control edges involving the source and sink nodes.
      TF_Operation* control_ops[100];
      EXPECT_EQ(0, TF_OperationNumControlInputs(scalar));
      EXPECT_EQ(0, TF_OperationGetControlInputs(scalar, control_ops, 100));
    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)
  2. CONTRIBUTING.md

        once you get into the running container so `bazel` can find the `tensorflow`
        workspace).
    
        you can do this by using the following command. As an example-
    
        ```bash
        docker run -it --rm -v $PWD:/tmp -w /tmp tensorflow/build:2.15-python3.10
        ```
    
        Once you have the packages installed, you can run a specific unit test in
        bazel by doing as follows:
    
        ```bash
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Thu Mar 21 11:45:51 GMT 2024
    - 15.6K bytes
    - Viewed (0)
  3. WORKSPACE

    # Initialize the TensorFlow repository and all dependencies.
    #
    # The cascade of load() statements and tf_workspace?() calls works around the
    # 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()
    
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Fri Apr 05 22:27:48 GMT 2024
    - 3K bytes
    - Viewed (2)
  4. RELEASE.md

            optimal in a non-interactive environment, where you don't have access to
            stdout, but can only view the logs. You can use
            `tf.keras.utils.disable_interactive_logging()` to write the logs to ABSL
            logging. You can also use `tf.keras.utils.enable_interactive_logging()`
            to change it back to stdout, or
    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)
  5. tensorflow/c/BUILD

            "//conditions:default": [],
        }),
        tags = [
            "no_cuda_asan",  # TODO(b/181771536)
            "no_windows",  # TODO(b/155444728)
        ],
        # We must ensure that the dependencies can be dynamically linked since
        # the shared library must be able to use core:framework.
        deps = [
            ":c_api",
            ":c_api_internal",
            ":c_test_util",
            ":test_op_kernel",
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Mar 27 18:00:18 GMT 2024
    - 30.3K bytes
    - Viewed (0)
  6. tensorflow/api_template.__init__.py

    from tensorflow.python.tools import module_util as _module_util
    from tensorflow.python.util.lazy_loader import KerasLazyLoader as _KerasLazyLoader
    
    # Make sure code inside the TensorFlow codebase can use tf2.enabled() at import.
    _os.environ["TF2_BEHAVIOR"] = "1"
    from tensorflow.python import tf2 as _tf2
    _tf2.enable()
    
    # API IMPORTS PLACEHOLDER
    
    # WRAPPER_PLACEHOLDER
    
    Python
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Mar 05 06:27:59 GMT 2024
    - 6.7K bytes
    - Viewed (3)
  7. ci/official/utilities/rename_and_verify_wheels.sh

      # other than the most recently-modified one (the new one).
      ls -t *.whl | tail -n +2 | xargs rm
    fi
    
    # Check if size is too big. TFCI_WHL_SIZE_LIMIT is in find's format, which can be
    # 'k' for kilobytes, 'M' for megabytes, or 'G' for gigabytes, and the + to indicate
    # "anything greater than" is added by the script.
    Shell Script
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Mar 27 21:16:27 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  8. tensorflow/c/c_api.cc

      for (int i = 0; i < noutputs; ++i) {
        c_outputs[i] = nullptr;
      }
    }
    
    // TF_TensorToTensorV1 decodes a string serialization to DT_RESOURCE.
    // In the TFv1 convention, TF_Tensor can hold a string serialization of
    // DT_RESOURCE. The string serialization is converted back to a
    // ResourceHandle during Session run where the TF_Tensor is converted to a
    // Tensor.
    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)
  9. tensorflow/c/eager/tape.h

    // gradients available initially).
    //
    // Then we repeatedly pop an entry from the stack, run its backprop, and update
    // the gradients of its inputs. Once we have computed all gradients for a single
    // input we can mark this input as done, and this can trigger adding an entry to
    // the stack if all outputs of that entry are now done.
    //
    // When the stack is empty we have gradients for all tensors we're interested
    // in.
    
    namespace {
    
    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)
  10. ci/official/utilities/code_check_full.bats

    # checks for cross-file issues like bad includes or missing BUILD definitions.
    #
    # We can't test on the windows toolchains because they're using a legacy
    # toolchain format (or something) that specifies the toolchain directly instead
    # of as a "repository". They can't be valid on Linux because Linux can't do
    # anything with a Windows-only toolchain, and bazel errors if trying to build
    # that directory.
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Mar 06 21:54:13 GMT 2024
    - 13.2K bytes
    - Viewed (0)
Back to top