Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for getSelf (1.25 sec)

  1. tensorflow/c/eager/c_api_experimental.cc

      delete counter;
    }
    
    TFE_MonitoringCounterCell* TFE_MonitoringGetCellCounter0(
        TFE_MonitoringCounter0* counter) {
      return static_cast<TFE_MonitoringCounterCell*>(
          static_cast<void*>(counter->counter->GetCell()));
    }
    
    TFE_MonitoringCounter1* TFE_MonitoringNewCounter1(const char* name,
                                                      TF_Status* status,
                                                      const char* description,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 11 23:52:39 UTC 2024
    - 35.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/internal/passes/input_lowering_metrics_pass.cc

          has_dynamic_op = true;
          dynamism_op_counter->GetCell(op->getName().getStringRef().str())
              ->IncrementBy(1);
        }
    
        return WalkResult::advance();
      });
    
      if (has_dynamic_op) {
        dynamism_function_counter->GetCell(kDynamicFunctionName)->IncrementBy(1);
      } else {
        dynamism_function_counter->GetCell(kNotDynamicFunctionName)->IncrementBy(1);
      }
    }
    }  // namespace
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 08:55:35 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/mlir_graph_optimization_pass.cc

            mlir_function_pass_fallback_count->GetCell(kFailure)->IncrementBy(1);
          } else if (pass_state == MlirOptimizationPassState::Enabled) {
            return pass_status;
          }
        } else {
          if (pass_state == MlirOptimizationPassState::FallbackEnabled) {
            mlir_function_pass_fallback_count->GetCell(kSuccess)->IncrementBy(1);
          }
        }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 22:19:26 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tf2xla/api/v2/tf_dialect_to_executor.cc

    }
    
    tensorflow::Status RecordStatusIfError(absl::Status status) {
      if (status.ok()) {
        return absl::OkStatus();
      }
    
      tf_dialect_to_executor_dialect_status->GetCell(kExportFailed)->IncrementBy(1);
      VLOG(1) << "Failed to export from TF Dialect to TF Executor Dialect. "
              << status;
    
      constexpr char bridge_subcomponent[] =
          "TFXLA_TF_FUNCTIONAL_TO_EXECUTOR_EXPORT_v2";
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 13 23:22:50 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tf2xla/api/v1/tf_dialect_to_executor.cc

      if (status.ok()) {
        return absl::OkStatus();
      }
    
      VLOG(1) << "Failed to export from TF Dialect to TF Executor Dialect. "
              << status;
      tf_dialect_to_executor_dialect_status->GetCell(kExportFailed)->IncrementBy(1);
    
      constexpr char bridge_subcomponent[] =
          "TFXLA_TF_FUNCTIONAL_TO_EXECUTOR_EXPORT_v1";
      constexpr char kBridgeComponent[] = "TFXLABridge";
    
      tsl::OkOrSetErrorCounterPayload(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Feb 16 03:41:02 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  6. tensorflow/cc/saved_model/loader.cc

        load_attempt_count->GetCell(export_dir, status_str)->IncrementBy(1);
      };
      if (status.ok()) {
        log_and_count(kLoadAttemptSuccess);
        metrics::SavedModelReadPath().Set(export_dir);
      } else {
        log_and_count(kLoadAttemptFail);
      }
      load_latency->GetCell(export_dir)
          ->IncrementBy(GetLatencyMicroseconds(start_microseconds));
      return status;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 02 04:36:00 UTC 2024
    - 23K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tf2xla/api/v1/compile_tf_graph.cc

          metadata, client, arg_core_mapping, per_core_arg_shapes, use_tuple_args,
          compilation_result);
      if (comp_status.ok()) {
        phase2_bridge_compilation_status->GetCell(kOldBridgeNoMlirSuccess)
            ->IncrementBy(1);
      } else {
        phase2_bridge_compilation_status->GetCell(kOldBridgeNoMlirFailure)
            ->IncrementBy(1);
      }
    
      return comp_status;
    }
    
    absl::Status CompileMLIRTFFunction(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 22:19:26 UTC 2024
    - 14K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tfr/integration/graph_decompose_pass.cc

        LOG_FIRST_N(INFO, 1) << "Skipping Graph Decomposition Pass, decomposition"
                                " library was not found";
        return absl::OkStatus();
      }
    
      tf_core_op_expansion_graph_counter->GetCell()->IncrementBy(1);
    
      LOG_FIRST_N(INFO, 1) << "Run Graph Decomposition Passes";
    
      TF_RETURN_IF_ERROR(DecomposeGraph(module));
    
      LOG_FIRST_N(INFO, 1) << "Finish Graph Decomposition Passes";
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Feb 25 16:22:36 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tf2xla/transforms/xla_legalize_tf.cc

      auto op_name = op->getName();
      auto name_string = op_name.getStringRef().str();
      auto op_legality = OperationLegalityString(op, target);
    
      mlir_failed_legalization_count->GetCell(name_string, op_legality)
          ->IncrementBy(1);
    }
    
    mlir::LogicalResult ApplyPatterns(Operation *op, RewritePatternSet &patterns,
                                      bool legalize_chlo) {
      ConversionTarget target =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 21:49:50 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tf2xla/internal/test_matchers_test.cc

      ASSERT_THAT(failed(), Not(IsOkOrFiltered()));
    }
    
    TEST(TestUtil, MatchesFiltered) { ASSERT_THAT(filtered(), IsOkOrFiltered()); }
    
    TEST(TestUtil, IncrementsOk) {
      CellReader<int64_t> reader(kMetric);
      counter->GetCell(kOkStatus)->IncrementBy(1);
    
      ASSERT_THAT(success(), IncrementedOrFiltered(reader.Delta(kOkStatus), 1));
    }
    
    TEST(TestUtil, FilteredDoesntIncrementsOk) {
      CellReader<int64_t> reader(kMetric);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Apr 14 20:29:34 UTC 2024
    - 4.3K bytes
    - Viewed (0)
Back to top