- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 265 for region (0.2 sec)
-
tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem_test.cc
region, status_); ASSERT_TF_OK(status_); auto length = tf_read_only_memory_region::Length(region); ASSERT_EQ(length, content_view.length()); auto data = static_cast<const char*>(tf_read_only_memory_region::Data(region)); ASSERT_TRUE(CompareSubString(0, content_view.length(), data, length)); tf_read_only_memory_region::Cleanup(region); delete region; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Aug 31 12:04:23 UTC 2020 - 24.9K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/modular_filesystem_registration.cc
"files"); return OkStatus(); } // Validates the read only memory region operations given by the plugin. static Status ValidateHelper(const TF_ReadOnlyMemoryRegionOps* ops) { if (ops == nullptr) { // read only memory region support is always optional return OkStatus(); } if (ops->cleanup == nullptr) return errors::FailedPrecondition(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 07 22:08:43 UTC 2023 - 12.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/cluster_ops_by_policy.h
bool resolve = false, bool emit_remarks = false); // Propagates initial constraints on the values in the `region` to the other // values in the same region, using user provided set of clustering policies. mlir::LogicalResult PropagateValuesConstraints( mlir::Region& region, const ClusteringPolicySet& policies, ValuesConstraintSet& constraints, bool resolve = false, bool emit_remarks = false);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Mar 03 03:47:00 UTC 2023 - 12.1K bytes - Viewed (0) -
internal/event/config_test.go
testCases := []struct { queue *Queue region string targetList *TargetList expectErr bool }{ {queue1, "eu-west-1", nil, true}, {queue2, "us-east-1", targetList1, true}, {queue3, "", targetList2, false}, {queue2, "us-east-1", targetList2, false}, } for i, testCase := range testCases { err := testCase.queue.Validate(testCase.region, testCase.targetList) expectErr := (err != nil)
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue Dec 05 10:16:33 UTC 2023 - 29K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/convert_tf_quant_types.cc
// Update the regions. The dialect conversion framework wants new regions to // be created and updated, rather than updating the old op. Thus we use an // OperationState so we can add regions to the new up. OperationState state(op->getLoc(), op->getName().getStringRef(), operands, new_results, op->getAttrs(), op->getSuccessors()); for (Region ®ion : op->getRegions()) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 12.6K bytes - Viewed (0) -
src/cmd/trace/tasks.go
return fmt.Sprintf("%s -> %s", old, new) case trace.EventRegionBegin: return fmt.Sprintf("region %q begin", ev.Region().Type) case trace.EventRegionEnd: return fmt.Sprintf("region %q end", ev.Region().Type) case trace.EventTaskBegin: t := ev.Task() return fmt.Sprintf("task %q (D %d, parent %d) begin", t.Type, t.ID, t.Parent) case trace.EventTaskEnd: return "task end" case trace.EventLog:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 11.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/quantization/quantization_context.h
public: QuantizeContext(func::FuncOp func, const DeviceTarget &spec); // Returns all the quant region ops. std::vector<quantfork::QuantizeRegionOp> GetAllOps(); // For each quant region op, propagates its quantization parameters according // to the kernel specification and also returns the adjacent quant region ops // which get the new quantization parameters propagated. LogicalResult Handle(quantfork::QuantizeRegionOp op,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 08 01:38:03 UTC 2024 - 9.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo_conversions/util.cc
} return success(); } // Check if the specified region is a binary reduction function that takes 2 // inputs and returns the second input. Functions like this are used by update // scatter like ops. template <> LogicalResult MatchBinaryReduceFunction<void>(mlir::Region& function) { Block& body = function.front(); if (body.getNumArguments() != 2) return failure();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 10.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/tf_executor_ops_invalid.mlir
} // ----- // Check that an empty graph is invalid (it needs a region). func.func @empty_graph() { "tf_executor.graph" () ({ // expected-error@-1 {{'tf_executor.graph' op region #0 ('body') failed to verify constraint: region with 1 blocks}} }) : () -> () func.return } // ----- // Check that an empty graph is invalid (it needs a region). func.func @empty_graph() { "tf_executor.graph" () ({
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Oct 19 01:12:10 UTC 2023 - 28.2K bytes - Viewed (0) -
src/internal/trace/traceviewer/http.go
</ul> <h2>User-defined tasks and regions</h2> <p> The trace API allows a target program to annotate a <a href='https://pkg.go.dev/runtime/trace#Region'>region</a> of code within a goroutine, such as a key function, so that its performance can be analyzed. <a href='https://pkg.go.dev/runtime/trace#Log'>Log events</a> may be associated with a region to record progress and relevant values.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 21 21:29:53 UTC 2023 - 12.6K bytes - Viewed (0)