Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 90 for eraseOp (0.14 sec)

  1. tensorflow/compiler/mlir/quantization/stablehlo/passes/replace_stablehlo_ops_in_main_function_with_xla_call_module_ops.cc

      CreateXlaCallModuleOp(inputs, outputs, result_types, reverse_subgraph,
                            stablehlo_func_op, module_op);
    
      // 3) Erase the replaced ops.
      for (Operation* subgraph_op : reverse_subgraph) {
        subgraph_op->erase();
      }
    }
    
    // Contains the actual logic for updating states and replacing StableHLO ops
    // with tf.XlaCallModuleOps.
    void UpdateStatesAndReplaceStablehloOps(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 21K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/tpu_space_to_depth_pass.cc

        if (argnum_num_users[arg_num] != conv2d_and_block_sizes.size() ||
            conv2d_and_block_sizes.empty()) {
          argnum_and_convolutions.erase(arg_num);
          continue;
        }
        int64_t block_size = conv2d_and_block_sizes[0].second;
        if (block_size < 2) {
          argnum_and_convolutions.erase(arg_num);
          continue;
        }
        // Continue if not all the block sizes for space to depth transform are the
        // same.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 29.3K bytes
    - Viewed (0)
  3. platforms/jvm/java-platform/src/integTest/groovy/org/gradle/integtests/resolve/platforms/JavaPlatformResolveIntegrationTest.groovy

            moduleA.moduleMetadata.expectGet()
            moduleA.artifact.expectGet()
    
            then:
            succeeds ":compileJava"
        }
    
        def 'constraint from platform does not erase excludes (platform: #platform)'() {
            given:
            platformModule("""
            constraints {
                api 'org:foo:1.0'
            }
    """)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 10.7K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/stablehlo/transforms/tfl_stablehlo_pass.cc

        }
        op_state.addTypes(output_tys);
        op_state.addAttributes(attr);
        auto stablehlo_op = builder.create(op_state);
        custom_op.replaceAllUsesWith(stablehlo_op);
        custom_op.erase();
      });
    }
    
    std::unique_ptr<OperationPass<func::FuncOp>> CreateTflToStablehloPass() {
      return std::make_unique<TflToStablehloPass>();
    }
    
    static PassRegistration<TflToStablehloPass> pass;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jan 24 06:08:43 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  5. platforms/core-runtime/logging/src/main/java/org/gradle/internal/deprecation/DeprecationLogger.java

         * The compiler is happy with the casting that allows to hide the checked exception.
         * The runtime is happy with the casting because the checked exception type information is captured in a generic type parameter which gets erased.
         */
        private static <T, E extends Exception> Factory<T> toUncheckedThrowingFactory(final ThrowingFactory<T, E> throwingFactory) {
            return new Factory<T>() {
                @Nullable
                @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/transforms/prepare_quantize_helper.h

        op_property->inputs.erase(
            std::remove_if(
                op_property->inputs.begin(), op_property->inputs.end(),
                [&](std::pair<int, operator_property::TensorProperty> input) {
                  return cifg_non_inputs.find(input.first) != cifg_non_inputs.end();
                }),
            op_property->inputs.end());
        op_property->intermediates.erase(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 18:01:23 UTC 2024
    - 28K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/tensorflow/passes/prepare_quantize_drq.cc

    void PrepareQuantizeDRQPass::removeAllStatsOp(func::FuncOp func) {
      func.walk([&](quantfork::StatisticsOp stats_op) {
        stats_op.replaceAllUsesWith(stats_op.getArg());
        stats_op.erase();
      });
    }
    
    #include "tensorflow/compiler/mlir/quantization/tensorflow/passes/prepare_quantize.inc"
    
    void PrepareQuantizeDRQPass::runOnOperation() {
      MLIRContext* ctx = &getContext();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/term/terminal.go

    		t.line = t.line[:t.pos]
    		t.moveCursorToPos(t.pos)
    	case keyCtrlD:
    		// Erase the character under the current position.
    		// The EOF case when the line is empty is handled in
    		// readLine().
    		if t.pos < len(t.line) {
    			t.pos++
    			t.eraseNPreviousChars(1)
    		}
    	case keyCtrlU:
    		t.eraseNPreviousChars(t.pos)
    	case keyClearScreen:
    		// Erases the screen and moves the cursor to the home position.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 22 17:16:14 UTC 2022
    - 22.5K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/tpu_rewrite_pass.cc

      // structured lowering.
      old_parallel_execute.walk(
          [&](TF::_XlaCompileMlirPlaceholderProgramKeyOp key_op) {
            key_op.replaceAllUsesWith(compile_op->getResult(1));
            key_op.erase();
          });
    
      // After rewrite, if there is a TPUCompilationResultOp from the same cluster,
      // replace it with the result of the compile op. The TPUCompilationResultOp is
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 21:25:12 UTC 2024
    - 29.7K bytes
    - Viewed (0)
  10. tensorflow/cc/tools/freeze_saved_model.cc

      }
    }
    
    // Strips off the tensor part of the tensor_name to get the node_name.
    const string GetNodeNameFromTensorName(string tensor_name) {
      if (tensor_name[0] == '^') {
        tensor_name.erase(0, 1);
      }
      std::vector<string> tensor_name_parts = str_util::Split(tensor_name, ':');
      return tensor_name_parts[0];
    }
    
    // Gets the set of node names needed by `outputs` and the corresponding set of
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 11 08:05:36 UTC 2023
    - 11.9K bytes
    - Viewed (0)
Back to top