Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 367 for incrementBy (0.17 sec)

  1. 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)
  2. 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)
  3. 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)
  4. tensorflow/compiler/mlir/tf2xla/api/v1/compile_tf_graph.cc

          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(
        tpu::MlirToHloArgs mlir_computation,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 22:19:26 UTC 2024
    - 14K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/transforms/prepare_quantize.cc

      }
    
      if (quant_specs_.post_training_quantization) {
        tflite_quantizer_usage_stats->GetCell("post_training")->IncrementBy(1);
        RemoveRedundantStats(func);
      } else {
        tflite_quantizer_usage_stats->GetCell("during_training")->IncrementBy(1);
        // Set the quantization parameters for the quantizable input nodes. If this
        // failed, return the function immediately. This is only required for
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/convert_tf_quant_types.cc

        rewriter.replaceOp(op, rewriter.create(state)->getResults());
    
        // TODO: b/290366702 - Temporarily added metrics for debugging.
        mlir_tf_quant_op_count->GetCell(std::string(op->getName().getStringRef()))
            ->IncrementBy(1);
        return success();
      }
    };
    
    // This pattern adds qint <-> int Cast to all qint operands and results for UQ
    // ops.
    class TFUniformQuantizedOpsPattern : public ConversionPattern {
     public:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tfr/passes/decompose.cc

                                    "The number of composite op expanded.", "name");
    }
    
    void IncreaseOpExpansionExecuteCounterByOne(const std::string& op_name) {
      tf_core_op_expansion_op_counter->GetCell(op_name)->IncrementBy(1);
    }
    
    }  // namespace tensorflow
    
    //===----------------------------------------------------------------------===//
    // The pass to decompose unregistered TF ops with the TFR compose function.
    //
    namespace mlir {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  8. tensorflow/c/eager/c_api_experimental.cc

      return context->GetContextId();
    }
    
    void TFE_MonitoringCounterCellIncrementBy(TFE_MonitoringCounterCell* cell,
                                              int64_t value) {
      cell->cell.IncrementBy(value);
    }
    
    int64_t TFE_MonitoringCounterCellValue(TFE_MonitoringCounterCell* cell) {
      return cell->cell.value();
    }
    
    TFE_MonitoringCounter0* TFE_MonitoringNewCounter0(const char* name,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 11 23:52:39 UTC 2024
    - 35.9K bytes
    - Viewed (0)
  9. tensorflow/compiler/jit/kernels/xla_ops.cc

      VLOG(1) << "XlaLocalLaunchOpBase::Compute "
              << Canonicalize(function_.name(), AttrSlice(&function_.attr()));
      xla_launch_counter->GetCell(platform_info_.device_type().type_string())
          ->IncrementBy(1);
    
      std::vector<const Tensor*> inputs = InputsFromContext(ctx);
      std::vector<XlaCompiler::Argument> xla_compiler_args;
      const XlaCompiler::CompilationResult* compilation_result;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 22:46:36 UTC 2024
    - 41.4K bytes
    - Viewed (0)
  10. pilot/pkg/xds/eds.go

    	// prevent memory leaks.
    	if event == model.EventDelete {
    		inboundServiceDeletes.Increment()
    		s.Env.EndpointIndex.DeleteServiceShard(shard, hostname, namespace, false)
    	} else {
    		inboundServiceUpdates.Increment()
    	}
    }
    
    // EDSUpdate computes destination address membership across all clusters and networks.
    // This is the main method implementing EDS.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 15:58:06 UTC 2024
    - 9.9K bytes
    - Viewed (0)
Back to top