Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 177 for abs8 (0.04 sec)

  1. tensorflow/compiler/mlir/tf2xla/api/v2/tf_dialect_to_executor.cc

    ==============================================================================*/
    
    #include "tensorflow/compiler/mlir/tf2xla/api/v2/tf_dialect_to_executor.h"
    
    #include <memory>
    #include <string>
    
    #include "absl/log/log.h"
    #include "absl/status/status.h"
    #include "llvm/ADT/StringRef.h"
    #include "mlir/Dialect/Func/IR/FuncOps.h"  // from @llvm-project
    #include "mlir/IR/BuiltinOps.h"  // from @llvm-project
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 13 23:22:50 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/stream_executor/stream_executor_test.cc

        TF_DeleteStatus(status);
        return ok;
      };
      StreamExecutor* executor = GetExecutor(0);
      TF_ASSERT_OK_AND_ASSIGN(auto stream, executor->CreateStream());
      std::function<absl::Status()> callback = []() -> absl::Status {
        return absl::OkStatus();
      };
      TF_ASSERT_OK(stream->DoHostCallbackWithStatus(callback));
    }
    
    TEST_F(StreamExecutorTest, HostCallbackError) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 20 19:54:04 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/metrics/BUILD

            "@com_google_absl//absl/strings",
        ],
    )
    
    cc_library(
        name = "error_collector_inst",
        srcs = ["error_collector_inst.cc"],
        hdrs = ["error_collector_inst.h"],
        deps = [
            ":error_collector",
            ":types_util",
            "//tensorflow/lite/python/metrics:converter_error_data_proto_cc",
            "@com_google_absl//absl/strings",
            "@llvm-project//mlir:IR",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 18:18:30 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/tensorflow/passes/merge_initializer_function_ops_to_main.cc

    #include <algorithm>
    #include <array>
    #include <iterator>
    #include <memory>
    #include <string>
    #include <utility>
    
    #include "absl/algorithm/container.h"
    #include "absl/cleanup/cleanup.h"
    #include "absl/strings/str_format.h"
    #include "absl/strings/string_view.h"
    #include "llvm/ADT/SmallVector.h"
    #include "llvm/ADT/StringExtras.h"
    #include "llvm/ADT/StringRef.h"
    #include "llvm/Support/raw_ostream.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun May 12 12:54:52 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/stream_executor/BUILD

            "//tensorflow/core:lib",
            "//tensorflow/core/common_runtime/device:device_utils",
            "//tensorflow/core/platform:strcat",
            "@com_google_absl//absl/functional:any_invocable",
            "@com_google_absl//absl/status",
            "@com_google_absl//absl/strings:str_format",
            "@local_tsl//tsl/platform:status",
            "@local_xla//xla/stream_executor",
            "@local_xla//xla/stream_executor:executor_cache",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jun 08 00:27:07 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/utils/string_utils.cc

    #include "tensorflow/compiler/mlir/lite/utils/string_utils.h"
    
    #include <cstddef>
    #include <cstdint>
    #include <cstdlib>
    #include <cstring>
    #include <vector>
    
    #include "absl/status/status.h"
    
    namespace mlir::TFL {
    
    absl::Status MiniDynamicBuffer::AddString(const char* str, size_t len) {
      // If `data_.size() + len` is greater than `SIZE_MAX` then the left hand side
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:41:49 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  7. src/math/big/ratmarsh.go

    func (x *Rat) GobEncode() ([]byte, error) {
    	if x == nil {
    		return nil, nil
    	}
    	buf := make([]byte, 1+4+(len(x.a.abs)+len(x.b.abs))*_S) // extra bytes for version and sign bit (1), and numerator length (4)
    	i := x.b.abs.bytes(buf)
    	j := x.a.abs.bytes(buf[:i])
    	n := i - j
    	if int(uint32(n)) != n {
    		// this should never happen
    		return nil, errors.New("Rat.GobEncode: numerator too large")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:31:58 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  8. tensorflow/compiler/jit/xla_host_recv_device_context.cc

        done(status);
        return;
      }
      if (auto st = stream_->BlockHostUntilDone(); !st.ok()) {
        done_event_.SetError(absl::InternalError(absl::StrFormat(
            "failed to synchronize send operation with a stream: %s",
            st.ToString())));
        return;
      }
    
      done_event_.SetStateConcrete();
      done(absl::OkStatus());
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 22:46:36 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  9. tensorflow/c/experimental/ops/gen/cpp/views/op_argument_view.cc

    namespace tensorflow {
    namespace generator {
    namespace cpp {
    
    string OpArgumentView::Declaration() const {
      return absl::Substitute("$0 $1", type_name_, variable_name_);
    }
    
    string OpArgumentView::Initializer() const {
      if (default_value_.empty()) {
        return "";
      }
      return absl::Substitute(" = $0", default_value_);
    }
    
    bool OpArgumentView::HasDefaultValue() const { return !default_value_.empty(); }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jun 03 07:02:00 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tf2xla/api/v1/compile_mlir_util.cc

    #include "tsl/platform/errors.h"
    
    namespace tensorflow {
    namespace {
    constexpr absl::string_view kGroupSizeAttrName =
        "tf2xla.collective_info.group_size";
    constexpr absl::string_view kGroupKeyAttrName =
        "tf2xla.collective_info.group_key";
    
    // Extracts shape from XlaArgument as TensorShape. If shape is a xla::Shape,
    // that is converted to a TensorShape.
    absl::StatusOr<TensorShape> GetTensorShapeFromXlaArgument(
        const XlaArgument& arg) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 17:24:39 UTC 2024
    - 45.3K bytes
    - Viewed (0)
Back to top