Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 270 for getFlow (0.3 sec)

  1. tensorflow/compiler/mlir/lite/stablehlo/transforms/smuggle_disallowed_ops.cc

      SmallVector<NamedAttribute> attrs{op->getAttrs()};
      attrs.push_back(call_target);
      auto custom_call = rewriter.create<mlir::stablehlo::CustomCallOp>(
          op->getLoc(), op->getResultTypes(), op->getOperands(), attrs);
      rewriter.replaceOp(op, custom_call.getResults());
      return success();
    }
    
    }  // namespace
    
    template <typename OpTy>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 19 01:14:04 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  2. pkg/volume/nfs/nfs_test.go

    		}
    		if mntDevs[0].Device != expectedDevice {
    			t.Errorf("unexpected nfs device, expected %q, got: %q", expectedDevice, mntDevs[0].Device)
    		}
    	}
    	log := fake.GetLog()
    	if len(log) != 1 {
    		t.Errorf("Mount was not called exactly one time. It was called %d times.", len(log))
    	} else {
    		if log[0].Action != mount.FakeActionMount {
    			t.Errorf("Unexpected mounter action: %#v", log[0])
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 01 15:56:32 UTC 2022
    - 9K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/stablehlo/passes/insert_weight_param.cc

            quant_type.castFromExpressedType(expressed_type);
    
        rewriter.setInsertionPointAfter(op);
        auto q = rewriter.create<quantfork::QuantizeCastOp>(
            op->getLoc(), quantized_type, op->getResult(0));
        auto dq = rewriter.create<quantfork::DequantizeCastOp>(op->getLoc(),
                                                               expressed_type, q);
        quantizable_op->setOperand(1, dq.getResult());
      }
    
     private:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 05:56:10 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/transforms/default_quant_params.cc

      }
      TypeAttr type_attr = TypeAttr::get(new_type);
      auto quantize = builder.create<TFL::QuantizeOp>(value.getLoc(), new_type,
                                                      value, type_attr);
      auto dequantize = builder.create<TFL::DequantizeOp>(
          value.getLoc(), expressed_type, quantize.getOutput());
      value.replaceAllUsesWith(dequantize);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/embedding_pipelining.cc

                                                        TypeRange(types), result);
          new_forward_ops.insert(replicated_output);
          // TODO(bfontain): Check for other attributes.
          replicated_output->setAttr(kDevice, builder.getStringAttr(""));
          TF::TPUReplicatedInputOp input = builder.create<TF::TPUReplicatedInputOp>(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 92.9K bytes
    - Viewed (0)
  6. platforms/core-runtime/logging/src/integTest/resources/org/gradle/internal/logging/LoggingIntegrationTest/logging/project1/build.gradle

    org.slf4j.Logger slf4jLogger = org.slf4j.LoggerFactory.getLogger('some-logger')
    slf4jLogger.info('An info log message logged using SLF4j')
    // END SNIPPET use-slf4j
    
    org.apache.commons.logging.Log jclLogger = org.apache.commons.logging.LogFactory.getLog('some-logger')
    jclLogger.info('An info log message logged using JCL')
    
    org.apache.log4j.Logger log4jLogger = org.apache.log4j.Logger.getLogger('some-logger')
    log4jLogger.info('An info log message logged using Log4j')
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/utils/xla_rewrite_util.cc

      const size_t num_moved_children =
          old_parallel_execute.getRegions().size() - 1;
      *new_parallel_execute = builder->create<mlir::tf_device::ParallelExecuteOp>(
          old_parallel_execute->getLoc(),
          num_moved_children + num_cores_per_replica, concatenated_output_types);
    
      // `cluster_idx` is the index of the child with the `ClusterFuncOp`, which
      // will be replaced.
      int cluster_idx = -1;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 13 03:57:18 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/utils/fake_quant_utils.cc

        if (!parent_op) continue;
        builder.setInsertionPoint(parent_op);
    
        // Recreate the operation by using the wrapper's operands and return types.
        // TODO(fengliuai): copy the regions.
        OperationState state(op->getLoc(), op->getName().getStringRef(),
                             parent_op->getOperands(), parent_op->getResultTypes(),
                             op->getAttrs(), op->getSuccessors());
        Operation* inlined = builder.create(state);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jun 03 00:14:05 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/tensorflow/passes/prepare_quantize.cc

          }
        }
      };
    
      for (int i = 0, e = func.getNumArguments(); i != e; ++i) {
        BlockArgument arg = func.getArgument(i);
        auto* arg_block = arg.getOwner();
        add_quantize_op(arg.getLoc(), arg.getType(), arg_block,
                        std::next(arg_block->begin(), i), arg, i);
      }
    
      return false;
    }
    
    bool PrepareQuantizePass::RemoveRedundantStats(func::FuncOp func) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_stablehlo_custom_call_to_composite.cc

        auto decomposition = mlir::cast<FlatSymbolRefAttr>(calledComputations[0]);
    
        auto composite = rewriter.create<mlir::stablehlo::CompositeOp>(
            op.getLoc(), op.getResultTypes(), op.getOperands(), name.str(), attrs,
            decomposition.getValue());
        rewriter.replaceOp(op, composite.getResults());
        return success();
      }
    };
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 4.4K bytes
    - Viewed (0)
Back to top